Leggi gli ultimi interventi sul forum
 
You are here: Sky ForumWebSviluppo webPhpFramekorks PHP
: [1]
Framekorks PHP
  • Aldo
  • user
  • *
  • Offline Offline
  • : 80
  •  
Framekorks PHP
« : February 19, 2008, 08:45:26 pm »

Scrivo qui alcune riflessioni sui vari framework PHP che sto esaminando, così da poter eventualmente fare una scelta di utilizzo/ispirazione per lo sviluppo di applicazioni web:

Symfony

Licenza:MIT http://www.symfony-project.org/content/license
Piattaforma:PHP5
Sito web del progetto:http://www.symfony-project.org

Riporto qui le caratteristiche specificate nel loro sito:

Quote
Symfony was built in order to fulfill the following requirements:

    * Easy to install and configure on most platforms (and guaranteed to work on standard *nix and Windows platforms)
    * Database engine-independent
    * Simple to use, in most cases, but still flexible enough to adapt to complex cases
    * Based on the premise of convention over configuration--the developer needs to configure only the unconventional
    * Compliant with most web best practices and design patterns
    * Enterprise-ready--adaptable to existing information technology (IT) policies and architectures, and stable enough for long-term projects
    * Very readable code, with phpDocumentor comments, for easy maintenance
    * Easy to extend, allowing for integration with other vendor libraries

Automated Web Project Features

Most of the common features of web projects are automated within symfony, as follows:

    * The built-in internationalization layer allows for both data and interface translation, as well as content localization.
    * The presentation uses templates and layouts that can be built by HTML designers without any knowledge of the framework. Helpers reduce the amount of presentation code to write by encapsulating large portions of code in simple function calls.
    * Forms support automated validation and repopulation, and this ensures a good quality of data in the database and a better user experience.
    * Output escaping protects applications from attacks via corrupted data.
    * The cache management features reduce bandwidth usage and server load.
    * Authentication and credential features facilitate the creation of restricted sections and user security management.
    * Routing and smart URLs make the page address part of the interface and search-engine friendly.
    * Built-in e-mail and API management features allow web applications to go beyond the classic browser interactions.
    * Lists are more user-friendly thanks to automated pagination, sorting, and filtering.
    * Factories, plug-ins, and mixins provide a high level of extensibility.
    * Ajax interactions are easy to implement thanks to one-line helpers that encapsulate cross-browser-compatible JavaScript effects.

Development Environment and Tools

To fulfill the requirements of enterprises having their own coding guidelines and project management rules, symfony can be entirely customized. It provides, by default, several development environments and is bundled with multiple tools that automate common software-engineering tasks:

    * The code-generation tools are great for prototyping and one-click back-end administration.
    * The built-in unit and functional testing framework provides the perfect tools to allow test-driven development.
    * The debug panel accelerates debugging by displaying all the information the developer needs on the page he's working on.
    * The command-line interface automates application deployment between two servers.
    * Live configuration changes are possible and effective.
    * The logging features give administrators full details about an application's activities.

Questo framework usa un formato di espressione dei dati chiamato YAML, le cui specifiche sono disponibili online; in realtà questa è la scelta che meno mi è piaciuto di quanto ho visto (credo che XML sia comunque più "universale").

Astrac - www.astrac.org
  • Aldo
  • user
  • *
  • Offline Offline
  • : 80
  •  
Re: Framekorks PHP
« #1 : February 20, 2008, 04:02:20 pm »

PHP for applications

Licenza:GNU GENERAL PUBLIC LICENSE
Piattaforma:PHP4.3xx in su (comunque object-oriented)
Sito web del progetto:http://p4a.crealabsfoundation.org/

Questo framework sembra molto carino, adesso sto provando ad installarlo ed a fare qualche esperimento; non sono riuscito a capire però se la licenza di distribuzione va bene per gli scopi commerciali... presto posterò nuove notizie.

EDIT: Per il momento mi sa che devo abbandonarlo in quanto non riesco a scaricare nulla (sembra a causa di disservizi sourceforge).
« : February 20, 2008, 06:00:55 pm Aldo »

Astrac - www.astrac.org
  • Aldo
  • user
  • *
  • Offline Offline
  • : 80
  •  
Re: Framekorks PHP
« #2 : February 20, 2008, 04:15:11 pm »

Akelos

Licenza:LGPL
Piattaforma:PHP4 in su
Sito web del progetto:http://www.akelos.org/

Framework basato sulle idee di ruby on rails; appena lo scarico e lo provo posto qualche informazione in più.
« : February 20, 2008, 06:01:09 pm Aldo »

Astrac - www.astrac.org
  • Aldo
  • user
  • *
  • Offline Offline
  • : 80
  •  
Re: Framekorks PHP
« #3 : February 20, 2008, 09:34:01 pm »

Kohana

Licenza:Specifica dell'applicazione (http://kohanaphp.com/license.html)
Piattaforma:PHP >= 5.1.3
Sito web del progetto:http://kohanaphp.com/home.html

Sembra molto leggero e carino, ho visto un paio di screencast di esempio nel loro sito ed adesso vorrei provarlo un po'. E' un fork di CodeIgniter, un altro framework abbastanza sviluppato.

Astrac - www.astrac.org
: [1]
You are here: Sky ForumWebSviluppo webPhpFramekorks PHP
: