venerdì, settembre 23, 2005

ONJava.com: ONJava 2005 Reader Survey Results, Part 1

ONJava.com: ONJava 2005 Reader Survey Results, Part 1: Chi sono gli sviluppatori Java? Il questionario annuale di onjava.com, un sito O'Reilly, mostra risultati interessanti. Fra le cose notevoli, un predominio assoluto di Eclipse (76%), un ruolo minoritario per NetBeans (22%) e un ruolo di nicchia per gli ambienti commerciali, come JBuilder e IntelliJ. Per quanto riguarda il piano acquisti, nessuno ha intenzione di comprare qualcosa quest'anno e ricorrere piuttosto all'open source. "The feedback to this year's ONJava survey was tremendous. We received 988 responses in just 12 days--well ahead of last year's response. It's great to see that so many people are so interested in Java and how we cover it on the site."

giovedì, settembre 22, 2005

Scott Wiltamuth's C# blog : Kids Programming Language (KPL)

Scott Wiltamuth's C# blog : Kids Programming Language (KPL): Un linguaggio pensato per i bambini? Interessante. KPL è basato su .net e può creare codice C# o VB dal sorgente KPL. Le demo dovrebbero essere divertenti e giocabili. "Today I had a chance to meet with several people who are working on Kids Programming Language (KPL). KPL is a freely downloadable development environment and immersive runtime for helping kids learn to program. If you have kids who are at the 'learning to program' age, which seems to get lower and lower every year, check out this tool. The demo was very cool! The KPL overview has a quick description and some screenshots. KPL is based on .NET, and includes its own immersive runtime for doing things like using sprites and collision detection. The tool can generate C# or VB code from the KPL code, which enables kids to learn in KPL and graduate to VB or C#."

mercoledì, settembre 21, 2005

Measuring Element Dimension and Location (Internet Explorer - DHTML)

Measuring Element Dimension and Location (Internet Explorer - DHTML): "The following section is designed to help Web authors understand how to access the dimension and location of elements on the page through the Dynamic HTML (DHTML) Object Model." Una spiegazione del posizionamento delle DIV utile per chi tenta di formattare le pagine con i CSS, come vogliono i guru del W3C.

venerdì, settembre 16, 2005

ONJava.com: What Is a Portlet

ONJava.com: What Is a Portlet: "'Portlets are web components--like servlets--specifically designed to be aggregated in the context of a composite page. Usually, many portlets are invoked to in the single request of a portal page. Each portlet produces a fragment of markup that is combined with the markup of other portlets, all within the portal page markup.' (from the Portlet Specification, JSR 168)" Le portlet sono interessanti perché sono un modo di realizzare una pagina web per componenti, ma il framework necessario per realizzare portlet potrebbe introdurre limitazioni e vincoli tali da complicare qualche parte del compito mentre ne semplifica altre. Questo articolo sembra un buon punto di partenza per iniziare a studiare.

martedì, settembre 13, 2005

Guide to Using XMLHttpRequest (with Baby Steps) from WebPasties

Guide to Using XMLHttpRequest (with Baby Steps) from WebPasties: "The XMLHttpRequest object is a handy dandy JavaScript object that offers a convenient way for webpages to get information from servers without refreshing themselves." Un tutorial eccellente sull'uso di un oggetto estremamente critico per realizzare applicazioni dinamiche, che mosra tutti i lati del discorso, soprattutto il modo (corretto) di fare interrogazioni asincrone.

XML.com: Remote Scripting with AJAX, Part 1

XML.com: Remote Scripting with AJAX, Part 1: "This two-part series of articles covers remote scripting using the AJAX XMLHttpRequest protocol. Part one walks through an example application that demonstrates how to implement the protocol, while part two will show how to create a usable interface." Si fa un gran parlare di Ajax, un nuovo nome per definire tecniche usate da tempo, in realtà è meglio andare a leggere la definizione originale per cogliere l'accento sui quattro fondamenti della tecnologia, in particolare il supporto per gli standard e l'interazione asincrona col server. Meglio studiare bene, quindi, per non rischiare di fare applicazioni Sjap (Synchronous Javascript and Proprietary formats). Applicazioni lente, che fanno dialogo inutile col server, impiegano parecchio tempo a comporre la pagina iniziale e non si basano su standard.

A List Apart: Articles: JavaScript Logging

A List Apart: Articles: JavaScript Logging: "If you spend much time working with JavaScript, there will eventually come a day when you need to know the value of a variable (or an object?s field) as the execution of the script progresses, or why a script terminates unexpectedly. In simple scripts, you can accomplish this with JavaScript?s alert() function, which instructs the browser to create a dialog box with the argument set as the box?s caption. The message can be anything that helps you understand your script?s operation." Un utente affezionato di JUnit non può lasciarsi scappare una possibilità di portarsi dietro le buone abitudini anche nel browser. Purtroppo, la tecnica proposta è interessante, ma ancora lontana dalla produzione. Sicuramente però è meglio procedere così che continuare con gli alert.

Javalobby - Java J2EE Programming Forums - General: 20 Sites for Java Developers

Una lista dei siti Java più importanti da visitare. Alcuni li frequento giornalmente, altri li avevo lasciati indietro. Ho sbagliato? Vedremo. Fra i primi dell amia lista ci sono http://www.javaalmanac.com http://www.onjava.com http://www.java.net http://www.theserverside.com Questi, invece no li avevo notati http://java.sun.com/docs/books/tutorial/ http://www.javablogs.com

venerdì, settembre 09, 2005

Steganography 101 using Java

Steganography 101 using Java: "As mentioned above, cryptography is often used in situations where the existence of the message is clear, but the meaning of the message is obscured. In particular, the sender transforms the message into a form that (hopefully) only the intended recipient of the message can decrypt and read. Steganography is often used in situations where the actual existence of the message needs to be obscured." Un'introduzione alla steganografia piuttosto interessante e corredata da esempi di codice e di immagini steganografate.

giovedì, settembre 08, 2005

IEBlog

IEBlog: "I?ve been keenly interested in extending Internet Explorer since long before I joined the team last fall. MSDN provides some great documentation on how to extend Internet Explorer, but as a longtime IE enhancer, I?d like to highlight some of my favorite resources." Un blog dedicato a Internet Explorer. Interessante. Ci sono anche parecchi esempi di codice e diversi "toys" da installare.

Una distribuzione di Emacs che funziona bene

nqmacs is no official Emacs distribution. It's just a set of precompiled w32-binaries based on the source code of Emacs' current development version (which will eventually be released as Emacs 22.1)." Provata e funziona decentemente. Rispetto alla versione della FSF ha un'interfaccia utente migliore: la toolbar funziona, ci sono più icone nella speedbar e in generale tutto funziona al meglio.

martedì, settembre 06, 2005

Esempi di codice

JExamples analizza codice sorgente Java e lo indicizza in modo da poter visualizzare una lista di punti in cui viene usata una determinata funzione, per esempio HashMap.put. Il database di esempi è costruito analizzando prodotti open source, come Apache Axis. La cosa interessante, quindi, è che i frammenti di codice sono presi da applicazioni reali, testate e collaudate. We analyze the source code of production Java open source projects such as Ant, Tomcat and Batik and load that analysis into a java examples database designed for easy searching. You enter the name of a Java API Class.method you want to see example invocations of and click Search.