+ Ответить в теме
Показано с 1 по 5 из 5

Тема: ASP Vs. PHP

  1. #1
    Джедай nons Трогаюсь nons Трогаюсь nons Трогаюсь nons Трогаюсь nons Трогаюсь nons Трогаюсь nons Трогаюсь nons Трогаюсь nons Трогаюсь nons Трогаюсь nons Трогаюсь
    Регистрация
    22.01.2005
    Сообщений
    3,753
    Поблагодарил(а)
    419
    Получено благодарностей: 1,257 (сообщений: 528).

    По умолчанию ASP Vs. PHP

    Довольно интересная англоязычная статья, в которой приводится сранительный анализ таких языков програмирования для созлдания веб-сайтов как ASP и PHP
    ASP Vs. PHP
    Halstatt Pires
    Expert Author
    Published: 2005-12-22


    When building web sites, ASP and PHP are very popular languages. Here's my opinion on whether ASP or PHP is best.

    Both ASP and PHP are languages used to build Dynamic Web sites that can interact with Databases and exchange information. ASP (Active Server Pages) is from Microsoft and is used with IIS (Internet Information Server) that runs on Microsoft Servers. PHP (Personal Home Pages) is from Rasmus Lerdorf, who originally designed this parsing language which was later modified by different people. It runs on Unix and Linux servers and it also has an NT server version.

    There are a lot of differences between ASP and PHP.

    Cost

    To run ASP programs one needs IIS installed on a Windows platform server, which is not free. PHP programs run on Linux, which is free. Even the connectivity of the database is expensive in the case of ASP as MS-SQL is a product of Microsoft that needs to be purchased. PHP generally uses MySQL, which is freely available.

    Speed

    If we compare the speed of ASP and PHP then PHP has an upper hand. PHP code runs faster than ASP. ASP is built on COM based architecture, which is an overhead for the server whereas PHP code runs in its own memory space.

    Platform Compatibility

    PHP programs can run on various platforms like Linux, Unix, Windows and Solaris whereas ASP is mainly associated with Windows platforms. However, ASP can run on a Linux platform with ASP-Apache installed on the server.

    Additional Costs

    Many of the tools used in PHP are free of cost and since PHP is open source a lot of code can be found in open source forums. PHP has inbuilt features like ftp, email from a web page or even encryption mechanisms but in ASP such features are not built in and some additional components are required. Therefore an additional cost is incurred for such components.

    Base Language

    PHP is based on C++ language and the syntax used in PHP is quite similar to C/C++. C/C++ is still considered the best programming language by many programmers and people who love this language would surely feel more comfortable with the syntax of PHP. ASP on the other hand has a more Visual Basic kind of syntax that again is closely related to only Microsoft products. So, it depends on a person-to-person which language he or she is comfortable

    Database Connectivity

    PHP, being extremely flexible, can connect to various databases, the most popular being MySQL. ASP mainly uses MS-SQL.

    Conclusion

    Both languages have their advantages specific to users. Some would argue that both the languages have their own importance and depending on the user's requirements the language and the platform can be chosen. If we talk about developing a discussion board then ASP is equally capable but many feel the best discussion boards are developed in PHP. If a user is looking for some e-commerce application development then many would call ASP the ideal choice. This does not mean that PHP cannot provide e-commerce solutions, only that many people choose ASP.

    From my perspective, PHP is an all around better choice than ASP.
    Телевизор — это просто маленькое прозрачное окошко в трубе духовного мусоропровода. © В. Пелевин.

  2. #2
    s4SSn
    Guest

    По умолчанию

    Цитата Сообщение от n0ns3ns3
    Довольно интересная англоязычная статья, в которой приводится сранительный анализ таких языков програмирования для созлдания веб-сайтов как ASP и PHP


    специалисты по asp в нашей стране все еще в большом дифиците... хотя язык в принципе не сложный...
    ЗЫ: стыдия лебедева больше полугода ищет asp программиста... и так и не нашла... отсюда вывод - хороших мало, и все уже разобраны...

  3. #3
    aSj
    Guest

    По умолчанию

    Смысл в чистом ASP, без .NET? А ASP.NET проги насколько я слышал - уже можно запускать в среде mono под *nix. Не весь функционал уже есть, но...

  4. #4
    s4SSn
    Guest

    По умолчанию

    Цитата Сообщение от aSj
    Смысл в чистом ASP, без .NET? А ASP.NET проги насколько я слышал - уже можно запускать в среде mono под *nix. Не весь функционал уже есть, но...
    asp кажись тоже детище мелкомягких, которое они с ужасным рвением продвигают...??

  5. #5
    aSj
    Guest

    По умолчанию

    Цитата Сообщение от s4SSn
    asp кажись тоже детище мелкомягких, которое они с ужасным рвением продвигают...??
    Угу, только продвигают уже не столько ASP сколько ASP.NET - часть их компании за .NET.
    По возможностям на мой очень беглый взгляд последние версии языков очень близки (всмысле ASP.NET и PHP).
    Но я собственно своим первым сообщением хотел сказать что с ASP.NET не все так просто. Можно и не платить, можно и не под виндой.

+ Ответить в теме

Информация о теме

Пользователи, просматривающие эту тему

Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)

     

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
Рейтинг@Mail.ru
Администрация сайта не выражает согласия
с высказыванием участников форума и не несет
ответственности за их содержание.

Копирование любого материала возможно только
при наличии ссылки на сайт.