Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Tech > ASP vs PHP
Pages (4): « 1 [2] 3 4 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by nous
??


Off-Topic:

Niente, una cosa mia... ;)

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

07-07-2005 08:36
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
AlphaGamma
.piano ma pieni.

User info:
Registered: Jun 2002
Posts: 6732 (0.80 al dì)
Location:
Corso: Eh?
Anno: Io cosa?
Time Online: 21 Days, 21:22:01: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

PHP 5, per chi lo ha visto, sta al PHP 4 come il C++ sta al C.
Oggetti, classi, interfacce, template, costrutti try... il tutto con la solita tranquilla semplicità ed intuitività del C... ;)

__________________
Attenzio', concentrazio', ritmo e VITALITÀ

07-07-2005 15:48
Click Here to See the Profile for AlphaGamma Click Here to See the Blog of AlphaGamma Click here to Send AlphaGamma a Private Message Visit AlphaGamma's homepage! Find more posts by AlphaGamma Add AlphaGamma to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
nous
.:Retore Pomposo:.

User info:
Registered: Dec 2001
Posts: 2945 (0.34 al dì)
Location: Fino Mornasco - Como
Corso: Informatica
Anno: Specialista
Time Online: 16 Days, 13:56:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

E quindi sta alla programmazione ad oggetti come un cammello sta al palio di Siena.

__________________
Cristian,il Nous che invoglia ^_^

"La capa è troppo in la,e la sbarba è troppo giovane..mi sa che qua si va in bianco"
Ryo Saeba (City Hunter)

07-07-2005 16:06
Click Here to See the Profile for nous Click Here to See the Blog of nous Click here to Send nous a Private Message Visit nous's homepage! Find more posts by nous Add nous to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ale82info
.grande:maestro.

User info:
Registered: Dec 2003
Posts: 2538 (0.32 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 17 Days, 13:18:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ripe hai pm

07-07-2005 18:50
Click Here to See the Profile for ale82info Click Here to See the Blog of ale82info Click here to Send ale82info a Private Message Find more posts by ale82info Add ale82info to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
yeah
.grande:maestro.

User info:
Registered: Nov 2003
Posts: 1644 (0.21 al dì)
Location: Cologno Monzese
Corso: Informatica Magistrale
Anno: II
Time Online: 12 Days, 21:36:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ripe

Niente, una cosa mia...

Ah ecco di chi era :D hai cambiato avatar nel frattempo ;)

__________________
?

07-07-2005 21:22
Click Here to See the Profile for yeah Click here to Send yeah a Private Message Find more posts by yeah Add yeah to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by AlphaGamma
PHP 5, per chi lo ha visto, sta al PHP 4 come il C++ sta al C.
Oggetti, classi, interfacce, template, costrutti try... il tutto con la solita tranquilla semplicità ed intuitività del C... ;)


Ancora...
Il fatto che 'supporti' gli oggetti non fa di PHP 5 un framework ad oggetti...

Ale, ho risposto! ;)

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

08-07-2005 09:58
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
AlphaGamma
.piano ma pieni.

User info:
Registered: Jun 2002
Posts: 6732 (0.80 al dì)
Location:
Corso: Eh?
Anno: Io cosa?
Time Online: 21 Days, 21:22:01: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Cosa intendi per framework ad oggetti?

Se il C++ è un linguaggio ad oggetti, anche PHP5 è un linguaggio ad oggetti. Semplice e chiaro.

Poi magari abbiamo due idee diverse su classi ed oggetti.

__________________
Attenzio', concentrazio', ritmo e VITALITÀ

12-07-2005 16:45
Click Here to See the Profile for AlphaGamma Click Here to See the Blog of AlphaGamma Click here to Send AlphaGamma a Private Message Visit AlphaGamma's homepage! Find more posts by AlphaGamma Add AlphaGamma to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by AlphaGamma
Cosa intendi per framework ad oggetti?

Se il C++ è un linguaggio ad oggetti, anche PHP5 è un linguaggio ad oggetti. Semplice e chiaro.

Poi magari abbiamo due idee diverse su classi ed oggetti.


No no, quello che dici tu è giustissimo. Però:

1. Per retrocompatibilità il modello di Php 5 viene fuso con quelli precedenti, lasciando un accrocchio un pò difficile da decifrare. In più mancano ancora dei dettagli per me fondamentali (a meno che non siano stati implementati di recente) come la gestione delle eccezioni, che in progetti di grandi dimensioni non possono mancare.

2. Per framework ad oggetti intendo un ambiente costituito interamente da classi ed interfacce, che possono essere estese ed implementate per favorire il riutilizzo e la manutenzione del codice. Se in Php la manipolazione dei file è lasciata ad una serie di funzioni, in Asp.NET ad esempio ogni cartella o file è un oggetto con le sue proprietà, metodi ed eventi da estendere ed utilizzare a piacere. Capirai che in progetti web dove la maggior parte delle volte le operazioni sono ripetute, questo è un enorme vantaggio!

Correggimi se ho detto delle cazzate! ;)

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

12-07-2005 17:27
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Walter
dsy adminz

User info:
Registered: Mar 2002
Posts: 5304 (0.63 al dì)
Location: Milano 90% - Valle Camonica 10%
Corso: Magistrale in Informatica
Anno: fine!
Time Online: 99 Days, 4:19:23 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Premesso che sono poco informato a riguardo di ASP.NET e PHP5, comunque una veloce ricerca su Google :) ha portato ai seguenti risultati:
- le eccezioni sono implementate anche in PHP5: http://www.php.net/manual/en/language.exceptions.php
- classi ed interfacce sono illustrate qui: http://www.php.net/manual/en/language.oop5.php
- esistono varie librerie riusabili, ad esempio in http://pear.php.net
Per manipolare un file come oggetto, già con PHP4 si usa la classe definita in http://pear.php.net/package/File
In più, con PHP5.1 (in sviluppo) le classi standard (http://www.php.net/~helly/php/ext/spl/annotated.html) verranno ulteriormente ampliate (ad esempio, verrà aggiunta la classe FileObject: http://www.php.net/~helly/php/ext/s...FileObject.html).
Per quanto riguarda PHP5, l'impressione è che sia quindi ancora in evoluzione, ma che comunque abbia già qualche caratteristica in più di quelle citate finora nel thread.
Ad ogni modo, tra un linguaggio open source e uno closed la mia personalissima preferenza va sempre e comunque al primo, a prescindere da ogni altra considerazione :)

__________________
"Ragione e passione sono timone e vela della nostra anima navigante." - Kahlil Gibran
"Senza musica la vita sarebbe un errore." - Friedrich Nietzsche

Last edited by Walter on 13-07-2005 at 09:18

13-07-2005 09:16
Click Here to See the Profile for Walter Click Here to See the Blog of Walter Click here to Send Walter a Private Message Visit Walter's homepage! Find more posts by Walter Add Walter to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Giustamente, uno sceglie anche in base a quello. Comunque Mono assomiglia molto ad Asp.NET! ;)

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

13-07-2005 10:31
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Walter
dsy adminz

User info:
Registered: Mar 2002
Posts: 5304 (0.63 al dì)
Location: Milano 90% - Valle Camonica 10%
Corso: Magistrale in Informatica
Anno: fine!
Time Online: 99 Days, 4:19:23 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ripe
Comunque Mono assomiglia molto ad Asp.NET! ;)
Uhm, non per polemizzare ma per imparare (io stesso!) qualcosa di nuovo :), la sezione FAQ in http://www.mono-project.com spiega meglio la relazione tra il progetto open source Mono, il framework .NET e ASP.net:

What is the difference between Mono and the .NET Initiative?

The ".NET Initiative" is a somewhat nebulous company-wide effort by Microsoft, one part of which is a cross-platform development framework. Mono is an implementation of the development framework, but not an implementation of anything else related to the .NET Initiative, such as Passport or software-as-a-service.


Does Mono work today?

The execution engine works on various platforms, we support Just-in-Time and Ahead-of-Time compilations on Intel x86 machines (and soon PowerPC). The class libraries are mature enough to run various real applications: our C# compiler, ASP.NET, and Gtk#-based applications.


e ancora, parlando di licenze e brevetti (http://www.mono-project.com/FAQ:_Licensing):

The .NET Framework is divided in two parts: the ECMA/ISO covered technologies and the other technologies developed on top of it like ADO.NET, ASP.NET and Windows.Forms.

Mono implements the ECMA/ISO covered parts, as well as being a project that aims to implement the higher level blocks like ASP.NET, ADO.NET and Windows.Forms.

The Mono project has gone beyond both of those components and has developed and integrated third party class libraries, the most important being: Debugging APIs, integration with the Gnome platform (Accessibility, Pango rendering, Gdk/Gtk, Glade, GnomeUI), Mozilla, OpenGL, extensive database support (Microsoft only supports a couple of providers out of the box, while Mono has support for 11 different providers), our POSIX integration libraries and finally the embedded API (used to add scripting to applications and host the CLI, or for example as an embedded runtime in Apache).

[...]

The controversial elements are the ASP.NET, ADO.NET and Windows.Forms subsets. Those are convenient for people who need full compatibility with the Windows platform, but are not required for the open source Mono platform, nor integration with today's Mono's rich support of Linux.

__________________
"Ragione e passione sono timone e vela della nostra anima navigante." - Kahlil Gibran
"Senza musica la vita sarebbe un errore." - Friedrich Nietzsche

13-07-2005 11:14
Click Here to See the Profile for Walter Click Here to See the Blog of Walter Click here to Send Walter a Private Message Visit Walter's homepage! Find more posts by Walter Add Walter to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fabpicca
jesus robot d'acciaio

User info:
Registered: May 2002
Posts: 2166 (0.26 al dì)
Location: Pieve Emanuele
Corso: Ticom
Anno:
Time Online: 12 Days, 23:12:28 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

sinceramente preferisco php.
Mi sembra meno vincolato all'ide di sviluppo e alla piattaforma dato che molte delle caratteristiche di asp.NET si possono apprezzare solo su macchine MS. Le altre invece sono più che disponibili anche su php (che tra le altre cose implementa anche un SOAP engine , NUSOAP) ma semplicemente meno "accessibili" causa la non omogeneità del processo di sviluppo dei vari tool.

come alternativa a php consiglierei JSP sicuramente a scapito però delle prestazioni, ma inquanto a interoperabilità e portabilità direi che non c'è nulla da dire...

__________________
my website?|ubuntu linux|get Firefox|grazie Polonia |bagdad sour

"Come va che non ha le corna e le zampe di Caprone?" gli opposi. "Oh, Giuvà", mi disse il prete "adesso non si usa più.Satana è furbo". (I.Silone, Fontamara)
"Al giorno d'oggi non bisogna essere intelligenti, perchè la gente si offende" (un ubriacone)
"close your eyes / pay the price / for your paradise" (DM) "whatever you want to change/you'd better start changing it in your mind" (Transatlantic)

13-07-2005 12:21
Click Here to See the Profile for fabpicca Click Here to See the Blog of fabpicca Click here to Send fabpicca a Private Message Visit fabpicca's homepage! Find more posts by fabpicca Add fabpicca to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
AlphaGamma
.piano ma pieni.

User info:
Registered: Jun 2002
Posts: 6732 (0.80 al dì)
Location:
Corso: Eh?
Anno: Io cosa?
Time Online: 21 Days, 21:22:01: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ripe
No no, quello che dici tu è giustissimo. Però:

1. Per retrocompatibilità il modello di Php 5 viene fuso con quelli precedenti, lasciando un accrocchio un pò difficile da decifrare. In più mancano ancora dei dettagli per me fondamentali (a meno che non siano stati implementati di recente) come la gestione delle eccezioni, che in progetti di grandi dimensioni non possono mancare.


Le eccezioni vengono gestite. ;)
Per quanto riguarda la retrocompatibilità anche il C++ è retrocompatibile col C. :)
Comunque anche un progetto web di grandi dimensioni (penso a Vbullettin) è comunque un piccolo progetto rispetto ad altri settori di utilizzo, quindi non vedo questo problema. A mio avviso PHP5 è già fin troppo ricco di possibilità per l'utilizzo reale che se ne va poi a fare.
Quando a qualcuno verrà in mente di gestire con PHP5 progetti delle dimensioni di SAP o Siebel, allora si potrà gestire al meglio il linguaggio. Per ora si usa comunque Java, non il Visual Basic.


2. Per framework ad oggetti intendo un ambiente costituito interamente da classi ed interfacce, che possono essere estese ed implementate per favorire il riutilizzo e la manutenzione del codice. Se in Php la manipolazione dei file è lasciata ad una serie di funzioni, in Asp.NET ad esempio ogni cartella o file è un oggetto con le sue proprietà, metodi ed eventi da estendere ed utilizzare a piacere. Capirai che in progetti web dove la maggior parte delle volte le operazioni sono ripetute, questo è un enorme vantaggio!

Correggimi se ho detto delle cazzate! ;) [/B]


Già in PHP4 si può implementare tutto sotto forma di classi e interfacce. PHP5 lo offre nativamente, ma ripeto, il paragone col C++ calza a pennello: non sei obbligato a farlo, proprio per retrocompatibilità.

__________________
Attenzio', concentrazio', ritmo e VITALITÀ

13-07-2005 12:22
Click Here to See the Profile for AlphaGamma Click Here to See the Blog of AlphaGamma Click here to Send AlphaGamma a Private Message Visit AlphaGamma's homepage! Find more posts by AlphaGamma Add AlphaGamma to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Si, ma è ancora tutto immerso nella pagina Html come nel vecchio modello Asp, una schifezza! :shock:
Pensavo che almeno questo fosse cambiato.

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

13-07-2005 12:58
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ma poi ci sono troppe differenze: codice sottostante, controlli server, data binding, viewstate, gestione del postback non esistono neanche in Php... impossibile fare un paragone. ;)

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

13-07-2005 13:01
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 11:42.    Post New Thread    Post A Reply
Pages (4): « 1 [2] 3 4 »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.088 seconds (65.99% PHP - 34.01% MySQL) con 22 query.