PDA

Visualizza la versione completa : Per programmare in asp.net bisogna conoscere altri linguaggi?


dori88
29-09-2008, 14:14
Ciao ragazzi poco tempo fa avevo aperto un thread in cui chiedevo quale nuovo linguaggio di programmazione usare per potere creare applicativi quali ad es. siti di ecommerce o gestionali..
Avevo scelto php, ma continuando poi a leggere ho letto pareri di molte persone esperte che non pensano che php sia un linguaggio di programmazione piuttosto qualcosa di molto scadente.
Ecco perch sto pensando invece ad asp.. In particolare ad asp.net (in quanto pi recente a quanto ho letto.. smentitemi se sbaglio)

Bene mi chiedevo se per poter programmare in asp.net necessario conoscere altri linguaggi di programmazione.. Ho letto qualcosa, non ben chiaro, in cui si parlava dell'appoggio a VB.. Ma non ho ben capito..

Grazie in anticipo a tutti

Stoicenko
29-09-2008, 14:42
L'asp.net si base su html unito al linguaggio di scripting lato server in c# o vb.net

L'asp invece non ha il supporto al framework.net e si appoggia sul vb

Ti assicuro che il php un linguaggio molto potente e che chi ti ha detto certe cose di sicuro esperto non ..

pallinopinco
29-09-2008, 14:50
ASP.NET una piattaforma di sviluppo, non un linguaggio. Il codice puoi scriverlo in uno dei tanti linguaggi supportati: VB.NET, C#, Delphi.NET, IronPython, ..., persino in Assembly x86 (http://www.viksoe.dk/code/asmil.htm)! :)



non pensano che php sia un linguaggio di programmazione piuttosto qualcosa di molto scadente.


...non hanno tutti i torti (http://www.bitstorm.org/edwin/en/php/)! :) PHP ha il vantaggio di essere supportato da tutti i servizi di hosting, ma ci sono delle alternative decisamente pi valide (tra le quali proprio ASP.NET).



Ti assicuro che il php un linguaggio molto potente e che chi ti ha detto certe cose di sicuro esperto non ..

PHP un linguaggio pessimo sotto molti punti di vista, carente per quanto riguarda la progettazione e nel mondo "enterprise" si usano strumenti decisamente pi potenti, versatili e soprattutto evoluti.

Riporto le opinioni di persone "non esperte", tutta gente che ha avuto modo di valutare PHP nell'impiego per lo sviluppo di siti di dimensioni non banali:



Conclusion

PHP has two advantages: it's very easy and it's widely supported by webhosting companies. But that doesn't make it a good language.

For very small projects, it can be a nice programming language. But for larger and more complex projects, PHP can show its weakness. When you search long enough, you'll find solutions (work arounds) to some of the mentioned problems. So when a solution is known, why isn't it fixed? And why are the fixes not mentioned in the manual?

It's good that an open source language is very populair. Unfortunately, it's not a great language. I hope all problems will be solved once (in PHP 6?) and we will have an open source language that's open source and good.

Until then, when you start a project larger than five scripted pages, you might also consider C#/ASP.Net or Java/JSP as a better solution.




Conclusion

I maintain that of all the dynamically-typed (or freedom) languages PHP has the most-approachable syntax especially for developers coming from the typical statically-typed languages. I guess that this plays a huge part in PHPs popularity right now. Also, the adoption of PHP by Oracle and the availability of many polished and sophisticated applications are important. There, at least from my point of view, seem to be far more content management systems and other tools, written in PHP, than in Python or Ruby. Especially some of the most popular tools in the developer community are written in PHP: PhpPgAdmin and PhpMyAdmin.

That said, I am a huge advocate for choosing the right tool for the job and that, of course, means that you might want to choose PHP under the right circumstances. Ill give you a few examples:

1. You have found the ideal framework or base for your software and its written in PHP

This website runs on WordPress. It has by far the best UI of any weblogging application. It also means that I have to navigate around all the problems I mentioned in this document. My guess is that in the long run that will take more time than not using a PHP based weblogging application, but for now, I just wait for PyBloxsom to catch up.
2. You already have a huge investment in PHP technology
3. Your time-constraints do not allow you to learn something else

For me, PHP is now an unacceptable solution to all but the simplest problems.




Conclusions

PHP is a convenient language for rapidly prototyping simple dynamic websites. Websites thus built can in many cases be deployed indefinitely, without spending time and money on refactoring code in a different language. PHPs simplicity makes it a good language for inexperienced programmers, such as those moving from a pure page-design rle to a site development one.

For more experienced developers, though, the languages simplicity rapidly turns into complexity, slowing down the development process. These developers are the ones who have the skills needed to build large and/or complex websites; using PHP for such sites therefore tends to be a net loss. This tendency is reinforced by PHPs lack of the linguistic features needed to promote working on large software projects. If your project is at all large or complex, it may be better to look elsewhere when choosing an implementation language.


Per approfondire:

Experiences of Using PHP in Large Websites (http://www.ukuug.org/events/linux2002/papers/html/php/index.html)
Im sorry, but PHP sucks. (http://maurus.net/resources/programming-languages/php/)

LeleFT
29-09-2008, 15:46
Visto che qui non si parla n di ASP, n di ASP.NET, n di VB, n di PHP (ognuno dei quali ha un forum dedicato), mi vedo costretto a chiudere.



Ciao. :ciauz:

Loading