Showing posts with label Comparison. Show all posts
Showing posts with label Comparison. Show all posts

Sunday, December 17, 2017

PHP and .NET - A Comparison For Building Websites

PHP and .NET - A Comparison For Building Websites

Both PHP and ASP.NET are able to produce complex and sophisticated websites with various purposes, like commercial or corporate, but the difference between the two programming tools resides at the level of methods employed by each one to achieve the same goals. If the first is an open-source development language, the second is a set of technologies included in the Microsoft .NET framework that builds web applications and XML web services.


They are similar in execution, they both generate markup like HTML, WML or XML, which is sent to a desktop or mobile application. The difference is that ASP.NET provides a powerful and efficient object-oriented, event-driven programming model for building web pages and it so happens, because, unlike PHP, applications built in ASP.NET are built from the start on a robust OOP context, and not on a scripting context.


Moving on to the feature comparison, some of the first most relevant ones to discuss are the coding languages supported, the compiling logic, and the output caching for full and partial pages. If PHP supports some OOP concepts and C++ and C#, ASP.NET, on the other hand, has full support for more than 25 languages, like the widely used Visual Basic .NET and C#, and many more. In this case, a developer can stick to one language, but actively use components from other languages as well. As for compiling logic, both development tools have compilation support, with the difference that ASP.NET already has dynamically and pre-compiled modes.


The output caching is really a feature that sets the two apart: PHP has no native support for neither full or partial page, while ASP.NET is equipped with support for full page through any combination of one or several URL parameters, browser type or custom function, and native support for partial pages through the use of User Controls, using the Cache API data and other objects can be cached with complex expiration rules.



Brad Larson promotes quality standards in programming services. He works with http://www.sbp-romania.com in sustaining a high level for code writing.

Saturday, October 28, 2017

How to Perform DTD Comparison on Two SGML Or XML DTD Files

How to Perform DTD Comparison on Two SGML Or XML DTD Files

The main purpose of a DTD file is to identify and classify the official building blocks of the XML document. It is commonly used to define the structure of the XML document by creating a list of the lawful elements. The declaration of the DTD can be done in two ways. The first one is to declare it inline in the XML document that you have created. The other way is to declare it as an external reference.


Before you learn how to make DTD comparison, you should know why you have to use this file format. XML provides the users with an application that makes them share data independently. If they use DTD, they are allowed to make use of a common DTD so that they can interchange the data. Here, you can utilize standard DTD so that you can verify the validity of the data that you have received. Another benefit from DTD is that you can employ this to make sure that your own data is legal.


With DTD known as the building blocks of XML, one can conclude that this is an important element in the documents. You can define the elements in the XML document by simply using DTD. Here, the DTD elements that you can create are empty elements along with elements with data, with children or sequences and wrapping. You can also declare one occurrence of the same element or a mixed content. DTD attributes on the other hand can be declared using the ATTLIST declaration. You can build a default attribute value, implied attribute, fixed attribute value or enumerated attribute values.


Now, if you have a problem with the DTD file format that you are working on, it can be caused by some registry failures. To solve this, simply scan windows registry in your computer so that you can repair the conflicts in the XML DTD files. Let us now proceed to DTD comparison. You can easily perform this by adding a new script to your XML document, which is "dtd-compare.py." This can compare the defined vocabularies in the DTD files. You can see here which among the elements are present or absent.


Comparing SGML or XML DTDs is more complicated. To make it simpler, you can use "dtddiff." This compares the two DTDs on XML files that are based upon the dumps produced by "dtdparse." Since the main dtddiff processes include the XML dumps, you do not have to perform a full reparse on the DTD files. What dtddiff does is to make a comparison based on the structure of the files. This means that you will not have to worry about the declaration order because it goes unaffected by this command.


DTD files formalize the markup languages and more importantly, it develops markup language generations by checking them. Nowadays, there are some who do not learn the arcane DTD syntax. They can simply create a script that depends on the existing libraries that parse the DTD files. Dealing with DTDs can be quite complicated but with further researching and educating, you will ultimately understand the deep DTD file format.



If you are interested in DTD Comparison, check this web-site to learn more about DTD file format.

Saturday, October 14, 2017

Local Verses Hosted Exchange Server Cost Comparison

Local Verses Hosted Exchange Server Cost Comparison

Let's have a closer look at the breakdown of the costs of a local exchange server vs a hosted exchange service for an organization with 25 users. Please note that all pricing is for New Zealand in New Zealand dollars.


Hosted Exchange Costs


Setup


$ 100 one off per user cost to migrate all emails data to the new hosted exchange environment and setting up users new exchange email.


Monthly Cost


$ 23 per user per month, which includes spam protection (users can be added or removed as required)


$ 17 per domain per month, domain name hosting i.e. www.yourdomain.co.nz


So total first year cost for 25 users/email addresses is fixed at $ 9604 and then $ 7104 per year.


Local Exchange Server Costs


With a local hosted server the costs would hugely vary depending on whether you are going budget or purchasing high quality equipment and services. Therefore I have included a range, the reason being you can go cheap i.e. use second hand hardware, used a low skilled IT technician however these are false economies and it generally will end up costing you more in time and hassle fixing the shortcuts that were taken in the future.


Setup


A Server $ 4,000-$ 10,000


Backup hardware/software $ 2,000-$ 6,000


UPS $ 500-$ 1000 (stops your server being blown up with a power spike or power failure)


Microsoft Exchange Software & Licensing $ 6,100


Warranty $ 500-$ 1,000


Technician to setup $ 2,000-$ 6,000


Ongoing Costs


Backups & Restores $ 5,000-$ 10,000/year (1Hr/week either you or your staff charged at $ 100/hr)


SLA $ 500-$ 2,000/year


Fixed IP Address $ 240/year


Power $ 300-$ 400/year


Spam Protection $ 600-$ 2000/year


Domain $ 200/year


So total 1st year cost for a local exchange server setup will be between $ 22,000-$ 45,000 please note that does not include; technician time to perform updates, technician time to perform backups and restores when you or your staff can't do it, repair failed hardware, software upgrades or the fact that server hardware generally last between 3-5 years where you would have to go through the whole process of a new server and licensing expense again.


When you compare the costs over a 3 year period there really is no choice. To have a local server can vary wildly from $ 35,000-$ 75,000 whereby the cost of having a hosted exchange solutions for the same period will be fixed at approximately $ 23,812


(please note all costs are approximate, excluding GST and vary across different providers)



Dan Ballard is a Technology Writer and a IT Business Development Manager. He specializes in showing businesses and organization how to make the best use of technology.