Quick links: Content - sections - sub sections
EN

Trace: jurl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
it:manuale-1.1:installation:applications [2009/12/01 21:39] – created aiacoponiit:manuale-1.1:installation:applications [2010/02/06 18:57] (current) aiacoponi
Line 1: Line 1:
-An application is available for download: TestApp. It is an application which contains some examples and some unit tests for Jelix (It is useful for developers who modify jelix).+Una applicazione è disponibile per il download: TestApp. E' una applicazione che contiene alcuni esempi e unità di test per Jelix (utili per gli sviluppatori di Jelix).
  
-We will take the TestApp examplebut the explanations are valid for any application based on jelix+Prenderemo come esempio il programma TestApp, ma le spiegazioni sono valide per ogni applicazione basata su Jelix. 
 +===== Installare i file di una applicazione =====
  
-===== Installing the files of an application =====+==== Estrazione dei file ====
  
-==== Files extractions ====+Quando l'archivio testapp è decompresso, avrete la seguente struttura delle cartelle
  
-When the testapp archive is decompressed , you get the following directories :+  testapp/          cartella prinpipale dell'applicazione 
 +      modules/      moduli dell'applicazione 
 +      responses/    risposte dell'applicazione 
 +      plugins/      plugins dell'applicazione 
 +      var/          tutti i file creati o modificati runtime dall'applicazione 
 +         config/    file di configurazione 
 +         log/       file di log 
 +      www/          document root
  
-  testapp/          application directory +Copiando questa struttura in @@F@mysite/@@ avrete:
-      modules/      modules of the application +
-      responses/    common responses for the application +
-      plugins/      plugins of the application +
-      var/          contain all the files created or that can be modified by Jelix during execution +
-         config/    configuration files of the application +
-         log/       log files of jelix and of the application +
-      www/          root of the site of the application (document root) +
- +
-Copy this directory in the @@F@mysite/@@ directory. You then have:+
  
     mysite/     mysite/
Line 25: Line 24:
        testapp/        testapp/
  
-The tree structure of the sources is by default organized in order to install the application on a server on which you can specify the public root directory of the site (document root). This directory is @@F@mysite/testapp/www@@ . 
  
-You will of course be able to change the place of these directories if, for example, you cannot change the document root. We will see how to do this further.+Questo tipo di organizzazione del sorgente richiede necessariamente di poter specificare la directory pubblica del server web (document root) che, nel caso trattato, è appunto @@F@mysite/testapp/www@@ . 
 + 
 +Naturalmente potrete cambiare la locazione di queste directory se, per esempio, non avete la possibilità di specificare arbritariamente dove collocare la directory pubblica del web server. In seguito verrà spiegato come fare. 
 + 
 +Potete anche notare che i file del framework sono separati da quelli dell'applicazione, permettendo di utilizzare il framework per più di una applicazione.
  
-You will notice that the files of the application and those of the framework are separated. This way, you can share the lib directory with several applications.+==== Rinominare i file di configurazione ====
  
-==== Configuration files renaming ====+Nella directory @@F@testapp/var/config@@ si trovano i file @@F@*.dist@@ .  
 +Rinominateli, rimuovendo il suffisso '.dist'
 +Successivamente modificateli in modo da adattare la configurazione alla vostra situazione (come ad esempio la configurazione del database contenuta in @@F@dbprofils.ini@@).
  
-In @@F@testapp/var/config@@, you have @@F@*.dist@@ files. Rename them by removing this '.dist' suffix. You have certainly some things to modify in this new files, like database configuration in @@F@dbprofils.ini@@ etc. 
  
 +==== Creare la directory temporanea ====
  
-==== Creating the temporary directory ====+Create la directory @@F@mysite/temp/testapp@@.  
 +Se la vostra applicazione contiene file @@F@*.init.php@@ simili a @@F@application.init.php@@ ma dichiaranti cartelle temporanee diverse, createle in accordo a tali indicazioni.
  
-Create the @@F@mysite/temp/testapp@@ directory. Perhaps your application contains different @@F@*.init.php@@ files, similar to the  @@F@application.init.php@@, but declaring differents temporary folders. So create the corresponding folders. 
  
-==== Configuring the application ====+==== Configurare l'applicazione ====
  
-See the [[en:manual-1.1:application-configuration|correspondant chapter]].+Vedi il [[en:manual-1.1:application-configuration|capitolo corrispondente]].
  
  

it/manuale-1.1/installation/applications.1259703568.txt.gz · Last modified: 2009/12/01 21:39 by aiacoponi

Recent changes RSS feed Creative Commons License