Posts Tagged ‘ASP’

ASP vs PHP: Why is PHP Better?

Saturday, June 28th, 2008

What is ASP?Active Server Pages (ASP) is Microsoft’s scripting language for building dynamic web sites, web applications and web services., First released in January 2002 , along with the version 1.0 of the .NET Framework, ASP.net is the successor to Microsoft’s Active Server Pages (ASP) technology. ASP.NET is made on the Common Language Runtime, allowing programmers to write ASP.NET code via any supported .NET language such as VBScript and Jscript.What is PHP?PHP or (PHP: Hypertext Preprocessor) is a PC scripting language designed for the construction of dynamic web pages. PHP is largely used in server-side scripting, but can also be used from a command line interface or in standalone graphical applications.PHP commonly runs on a web server, taking the PHP code as its input and creating web pages as output. It can be set up on most web servers and on almost every operating system and platform for free.To be Continued…

ASP vs PHP: Why is PHP Better?

Saturday, June 28th, 2008

Speed Relatively, PHP is much faster and stable than ASP, this is because ASP is built on a COM-based architecture so whenever a program tries to connect to a database or calls for a COM object, there is an overhead on the server, and this COM overhead adds up and slows things down.While in PHP, everything runs in PHP’s memory space , this implies that PHP code will run faster because there is no overhead of communicating with different COM objects in different processes.In addition to this ASP is slower and is a more memory intensive application than PHP’s model because each ASP language compiler runs in its own process.Bottomline: PHP is faster than ASPTo be Continued…

ASP vs PHP: Why is PHP Better?

Saturday, June 28th, 2008

Price Compared to ASP, PHP installations are absolutely cheaper to install. PHP perfectly runs on Linux (which is a free OS) and programmers use MySQL .(which also comes FREE)ASP runs on the IIS Server (Internet Information Server) which requires Windows N.T/2000/2003 Servers or better. Aside from that ASP mostly uses MS-SQL Server as the back end which is really expensiveThe Bottomline: PHP is CheaperCross Platform compatibility PHP programs run on a wider variety of OS Unix, Linux, Solaris and Window’s.ASP on the other hand only works flawlessly with Windows.Bottomline: PHP tops ASP.net in terms of versatility.SecurityThe biggest disadvantage with PHP and any open source software must be the fact that companies do not want it because they do not trust PHP.To be Continued…

ASP vs PHP: Why is PHP Better?

Saturday, June 28th, 2008

This is because in PHP, common tasks like ftp, encrypt passwords in MD5, or send email from a web page all are built in hidden code, and as PHP is Open source there is a lot
of free code available for PHP.

Unlike PHP there is no hidden code with ASP. If you need to upload files, then you would need a third party component like ASP upload, also if you need to
send mail you need another component and so on.

Bottomline: ASP is more Secure than PHP.

Conclusion:
Both have their Pros and Cons. ASP.net is a good innovation but PHP is better in many aspects.

UNIX vs Windows Hosting

Thursday, June 26th, 2008

When browsing through the offerings of various web hosting companies you are sure to notice that some offer UNIX hosting and others offer Windows. Some hosts even offer a choice of the two operating systems. What are the differences and which one is better?

First of all, when choosing a host, it doesn’t matter what kind of operating system you develop your web site on or what you use on your own computer. Web sites hosted on both UNIX and Windows servers are universally accessible because the data they serve is identical. The difference lies solely in the software used to serve that data.

In terms of reliability UNIX systems have a slight advantage. They are known to extremely stable and able to run for years without rebooting. Windows is also very reliable – slightly less so than UNIX but still able to handle the demands of modern web sites.

The majority of web hosts use various flavours of UNIX like Linux and FreeBSD. These operating systems are free and reduce the costs of a hosting operation. Windows costs thousands of dollars so some hosts charge extra for Windows accounts if they offer both types.

As well as being free, Linux and the other UNIX varieties are open-source software. Anyone can alter the source code and make improvements, updates, and additions. There is a large pool of dedicated enthusiasts who use their free time to work on this software. Windows, on the other hand, is Microsoft proprietary software so users are dependent on Microsoft to release updates. There is no way for an individual user to modify the code.

The main difference between the two types of operating systems is the type of software each can run. Windows is suitable for Microsoft products such as MS Access databases, ASP for delivering dynamic content, and VBScript for site enhancements. UNIX cannot accommodate these technologies so if you absolutely need ASP or VBScript you should pick a Windows host. UNIX hosts deliver dynamic content by using software such as PHP, CGI, and MySQL – technologies which are also available on Windows hosts.

Windows is necessary for hosting Windows media files such as videos and audio. Other types of media such as MP3, Flash, Shockwave and Real can be handled by either UNIX or Windows. Websites created in Microsoft FrontPage (a graphical HTML development package) can also be hosted on either type as long as MS databases or dynamic content are not included for use on a UNIX host.
Which is Best?

Before deciding which type of hosting to use for your website, consider carefully what kind of technologies you will need. Do you need a dynamic site?  Will you have multimedia content such as streaming video or audio?

Both UNIX and Windows can provide dynamic content with PHP, MySQL, as well as CGI, and there are thousands of dynamic scripts readily available. Multimedia can also be hosted by either type of server, although Windows media (WMA and WMV) need to be hosted on a Windows server.

If you absolutely need Microsoft databases, ASP, and Windows media you have to go with a Windows host. Otherwise most websites are probably better off with a UNIX host. The advantages of UNIX over Windows include greater choices in web hosts, slightly better reliability, and (sometimes) cheaper hosting costs.