Set Up

JiFile per Joomla!

JIFile
JiFile è una componente per Joomla! che permette di indicizzare il contenuto dei file(PDF, DOC, ecc.) per poter effettuare delle ricerche al loro interno.

Scopri di più...  Demo

JoomPhoto Mobile

JPhotoMobile
JoomPhoto Mobile è una componente per Joomla! che ti permette di condividere le foto dal tuo dispositivo Android sul tuo portale Joomla!.

Scopri di più...  Demo

iFile Framework

IFile
IFile è un framework open source scritto interamente in PHP, permette l'indicizzazione dei contenuti testuali di un documento (DOC, PDF, EXCEL, etc) e una rapida ricerca all'interno degli stessi.

Scopri di più...  Demo

Easy Language

EasyLanguage
Easy Language è un plugin per la gestione semplice ed immediata di testi multilingua in ogni parte possibile di joomla, articoli, componenti, moduli, metadata, template, altri componenti(esempio K2) ecc.

Scopri di più...

Article Book Effect

Article Book Effect
Visualizza gli articoli di Joomla con l'effetto volta pagina di un libro. Questo plugin consente di visualizzare il contenuto di un articolo Joomla come un vero e proprio libro o una rivista, utilizzando tutti i vantaggi di HTML5

Scopri di più...  Demo

 

Fototessera

Article Book Effect
La più famosa Android App che ti permette di stampare le foto tessere per i tuoi documenti con il tuo smartphone Android, in modo semplice ed intuitivo.

Scopri di più...

 

Ombra pazza 3D

Ombra pazza 3D
Ombra Pazza è il puzzle game 3D frenetico e divertente per Android! Prova a ruotare le forme portandole nella posizione delle proprie ombre senza mai fallire! Risolvi una dopo l'altra tutte le combinazioni dei livelli di gioco.

Scopri di più...

 

Admin Countdown

Admin Countdown
Modulo per Joomla! 2.5 e 3.x visualizza nella parte di amministrazione del sito, un timer con il conto alla rovescia del tempo rimanente della tua sessione.

Scopri di più...  Demo

 

Set Up

The integration of the swc html2flex Frontal library involves very few steps.

First of all you must include, into your flex project, the swc file (if you are using an ide such as Flex Builder or Flash Builder, you have to access to the Library Path panel of your application), then you have to include few code rows into the application file, as shown in the code below.

<mx:Application xmlns:mxundefined" 
         layout="absolute" width="100%" height="100%" 
         horizontalScrollPolicy="off" creationComplete="init()" 
         xmlns:components="it.ang.frontal.renderer.components.*">

     <!-- your css files -->
     <mx:Style source="project/css/main.css"/>

     <mx:Script>

            import it.ang.frontal.util.CommonUtils;

            import it.ang.frontal.modules.util.ApplicationContext;


            public function init() : void {

                ApplicationContext.arrayConstantsClasses = [];

                ApplicationContext.getInstance().rootComponent = rootComponent;

                ApplicationContext.getInstance().invokeService("project/index.html", 
                        CommonUtils.getUrlParamaters());

            }

    </mx:Script>

    <components:RootHtmlContainer id="rootComponent" width="100%" height="100%" />

</mx:Application>

The visual Frontal component to be introduced is the RootHtmlContainer which represents the main container used by Frontal to inject the content; in order to start up the Frontal framework it's necessary to configure the Frontal instance object ApplicationContext; in the init function (invoked by the creationComplete event of the application), it's set the rootComponent property of ApplicationContext and then invoked the invokeService method.

The parameters to pass to the ApplicationContext invokeService method are the url of the service which gives back the html content, and eventually the request parameters in the url of the flex application; to retrieve these parameters there is the getUrlParameters method of the Frontal CommonUtils class which gives back a Dictionary object.

In the init method there is also an other property of the ApplicationContext class to be set, that is the arrayConstantsClasses property, an array of custom classes by which it is possible to extend the Frontal framework with custom tags; however it is discussed in the Customizing section.

Particulary attention must be paid to the widht and height properties of the Application object and of the RootHtmlContainer object, and to the declaration of the css files to include into the project.
 
PHP Classes

IFile
by isApp.it

nominee
November 2013