IronPython: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m →Esempi: smistamento lavoro sporco e fix vari |
m + sez. Note, nome sezioni predefinite, + parametri lingua in template |
||
Riga 59:
</syntaxhighlight>
In questo caso, supponiamo che [[.NET Framework|.NET]] Framework implementi una classe, BookDictionary, in un modulo chiamato BookService e pubblichi un'interfaccia in cui è possibile inviare ed eseguire gli script IronPython.<ref>{{Cita libro|titolo=Learning Python, 5th Edition|autore=Mark Lutz|ISBN= 978-1449355739|url=https://python.engineering/learning-python-5th-edition/|lingua=en}}</ref>
Questo script, quando inviato a quell'interfaccia, scorrerà l'intero elenco di libri gestiti dal framework e selezionerà quelli scritti dagli autori vincitori del Booker Prize.
La cosa interessante è che la responsabilità di scrivere l'analisi effettiva risiede nello sviluppatore lato client. Le richieste per lo sviluppatore lato server sono minime, essenzialmente fornendo solo l'accesso ai dati mantenuti dal server. Questo modello di progettazione semplifica notevolmente la distribuzione e la manutenzione di framework applicativi complessi.<ref name=dot-net-example>{{cita web|url = http://www.resolversystems.com/documentation/index.php/Dot_Net_Objects_in_the_Grid|titolo=Using .NET objects from IronPython in Resolver One|lingua=en|accesso=18 novembre 2008|urlarchivio=https://web.archive.org/web/20090114131717/http://www.resolversystems.com/documentation/index.php/Dot_Net_Objects_in_the_Grid|urlmorto=si}}</ref>
Lo script seguente usa .NET Framework per creare un semplice messaggio Hello World.
Riga 74:
MessageBox.Show("Hello World")
</syntaxhighlight>
== Note ==
<references />
== Bibliografia ==
* {{cita web|https://
* {{cita web|https://www.theregister.co.uk/2010/10/22/microsoft_kills_dynamic_languages_projects/|Microsoft cuts loose IronPython|lingua=en}}
* [https://ironpython.codeplex.com/wikipage?title=Differences&referringTitle=Home&ProjectName=ironpython http://ironpython.codeplex.com] Differenze tra versioni.▼
* {{en}}[https://ironpython.codeplex.com/wikipage?title=
▲* {{en}}[https://ironpython.codeplex.com/wikipage?title=
[[Categoria:Python]]
|