Feb
07
Posted on 07-02-2009
Filed Under (extjs, framework, guida, javascript, web 2.0) by Mat on 07-02-2009

How to build your first project using ExtJS framework? Here’s shortly all instructions to quickly start a project using ExtJS libraries.

First of all, download SDK libraries from the ExtJS site. In the archive you’ll find install instructions; simply you’ll need only these files:

  • ext-base.js, from adapter/ext folder (or another base if you’ll use it combined with another framework)
  • ext-all.js (compressed version) or ext-all-debug.js (obviously for debugging)
  • ext-lang-xx.js from folder source/locale to get ext in your language
  • resource folder (keeping only default themes and only ext-all.css file)

Now to use it you can just create a web page and include the 3 specified .js files, in the same order as written above. Then include ext-all.css in the page, and voila, Ext is installed in your page.

To begin, read some tutorial, and start with the examples you find online, or also in the same SDK archive file. The API documentation is available online, and also offline (you need to install AIR support). A good resource to get confronted is the community forum, and a custom google search on it.
For the development you’ll need a JS IDE, I suggest Spket, standalone or included as plugin of Aptana or Eclipse. In Jack Slocum’s blog (ExtJS founder) you’ll find all instructions to install the IDE and to configure a Javascript Profile to get autocomplete for ExtJS. There’s also this page where you can find a lot of resources.

(2) Comments    Read More   
Feb
11
Posted on 11-02-2008
Filed Under (ajax, google, guida, html, javascript) by Mat on 11-02-2008
  1. Cercare la locazione in cui punterà la mappa in maps.google.com
  2. Cliccare su “Link to this page” e prelevare il parametro ll dal codice dell’iframe, che sarà tipo ll=12.325678,34.567890
  3. Recarsi su code.google.com/apis/maps/ e cliccare “Sign up for a Google Maps API key”, aderire e inserire il dominio di destinazione della mappa
  4. Prelevare la chiave e il codice per quel dominio
  5. Il codice consiste in:
    • Due tag script; la chiave è già quella giusta, sostituire in GLatLng latitudine e longitudine prima prelevate (il parametro ll)
    • funzione load
    • chiamate a load e unload nel body
    • tag div dove inserire la mappa

Voilà, il codice per la mappa è pronto, copiare la nuova pagina generata nel vostro sito o inserire gli elementi citati nel punto 5 in una pagina esistente.
Per aggiungere funzionalità aggiuntive, si può consultare la documentazione.

(0) Comments    Read More   
Set
28
Posted on 28-09-2007
Filed Under (calcio, giochi, guida, links, tv) by Mat on 28-09-2007

Dal 17 settembre è approdato sul web House of Gallo, blog personale a cura di Enrico Gallinucci. Si spazia dai videogames (preferibilmente dal mondo Playstation) al calcio, per proseguire con un occhio di riguardo verso il mondo dei telefilm.
Se volete rimanere aggiornati su tutto ciò che accade nel pianeta videogiochi siete nel posto giusto, perchè siete davanti ad un assiduo videogamer, tra gli amministratori del visitatissimo Planet Ps3, e nientemeno che redattore di guide per videogames, partendo dalle pubblicazioni per Gamefaqs.com e seguendo con gli sviluppi sul canale videoludico di Tiscali, GameSurf. Fresca di scrittura troviamo la guida per Resistence: Fall of Men, mentre degna di nota la segnalazione sul sito ufficiale (sezione News) di Gta San Andreas per la sua guida, un vero onore per un criminale del gioco come lui.
In bocca al lupo per la tua nuova avventura Enrico…

(0) Comments    Read More