SlideShare ist ein Scribd-Unternehmen logo
1 von 21
PHP Frameworks:

Introduction to eZ Components
          www.ezcomponents.org



     Roland Benedetti, Gaetano Giunta


               EPITA, Paris
                19/3/2009


                www.ez.no
Agenda

    Introduction
●



    Architecture and design
●



    New in the latest releases
●



    Roadmap
●



    Examples of usage
●



    Questions / other
●




                                 2/21
eZ Components – what is it?
« a high-quality library of independent components that aid in the
development of Web-centric applications »

That is...

Not a framework

... but a set of loosely coupled components. They can be used
individually or together

Not geared exclusively towards web development

... but especially suited to web development

Available with a New BSD license and support from eZ Systems


                                                                3/21
Goals of the library
    A solid platform to ease development of applications in PHP 5
●


    relieving the coders from reinventing the wheel every time

    Simple and consistent API, OO « clean » design
●



    Do not impose a structure on everything: not a framework
●



    Keep full binary and API compatibility as long as possible
●



    High priority given to stability and regression avoidance
●



    100% Open Source, clear attribution of rights
●



    Developed, maintained and supported by eZ Systems
●




                                                                 4/21
Development methodologies
    Take full advantage of libraries and language functionality
●


    available from PHP 5.1 (minimum supported version: 5.1.6 /
    5.2.1, depending on release)

    Every API is discussed and documented in a design doc before
●


    being implemented

    Pervasive usage of unit testing – tests are written BEFORE
●


    code

    Both inline (phpdoc à gogo) and offline (tutorials, reference,
●


    installation guide) documentation.

    Documentation is written during development, not afterwards
●




                                                                     5/21
Architecture: class naming
    Usage of a prefix, because of lack of namespacing (waiting for
●


    PHP 5.3): ezcXXX

    Readable: better long understandable names than short and
●


    cryptic

    Sometimes « adjusted » for readability
●



    eg: ezcMailSmtpTransport vs. EzcMailSMTPTransport

    ezcTestSuite vs. PHPUnit2_Framework_TestSuite

    ...and many other rules you can find on
●



    http://ezcomponents.org/contributing/coding_standards.html


                                                                6/21
Architecture: dependencies
    The less, the better...
●



    ... avoiding duplication of code
●



    Only where necessary
●




    Usage of separate
●



    Components to implement them



                                       7/21
General class schema
Classes are grouped
into Packages




                       8/21
Components galore!
                                   Cool stuff
Boring stuff
                                       Cache
    Database abstraction           ●
●


    (including ddl manipulation)
                                       ImageAnalysis and
                                   ●

    PersistentObject
●
                                       Conversion
    Authentication
●


                                       Graph
    Template                       ●
●


    Configuration                      Workflow
●
                                   ●

    Eventlog and Debug
●

                                       Webdav
    Mail
                                   ●
●


    ConsoleTools                       Search (new!)
●
                                   ●

    Feed (new!)
●

                                       Document (new!)
    MVC (new!)
                                   ●
●




                                                           9/21
Latest additions: 2008.1
    New component: Document. It allows to convert documents
●


    between different formats (at the moment conversion from
    ReST to XHTML and DocBook is supported)

    New component: Feed. It parses and generates RSS1, RSS2 and
●


    ATOM feeds

    New component: Search. provides a unified interface to
●


    different search engine back-ends (at the moment, only a Solr
    back-end is supported)

    Improved: hierarchical caching in the Cache component; Cairo
●


    driver support for the Graph component; binary data support in
    PersistentObject, integration between Translation and
    Template; etc...

                                                               10/21
Latest additions: 2008.2
    New component: MvcTools (we are a framework after all!)
●



    Improved: Document supports wiki (Confluence, Creole and
●


    DokuWiki style) and eZ Publish xml formats, reads xhtml,
    writes ReST

    Improved: Webdav supports authentication and authorization,
●


    shared and exclusive write locks




                                                               11/21
Roadmap: 2009.1
    Focus: improve the new MVC support in eZ Components by
●


    making it both more powerful and easier to use

    Introduce the quot;Frameworkquot; component

    Authentication: add support for OpenID 2
●



    Document: support for PDF writing and the support of layouts
●


    while writing; support for ODF reading and writing and the
    support of layouts while writing

    Search: support for the Zend_Search_Lucene backend
●



    PersistentObject: automatic fetching of related objects; identity
●


    mapping to avoid having 2 objects with the same db state


                                                                12/21
System Requirements
    PHP version 5.2.1 (for 2008.2 and later)
●



    Some php extensions are needed by some components, or thay
●


    are transparently used to provide extra features

    ex: Archive needs zlib (present in the default install of PHP) and
●


    bz2, opzionally can use « posix » for management of file
    permissions

    Detailed list at:
●



    http://ezcomponents.org/overview/requirements.html

    (it includes a quick reference on compilation of missing
    extensions)


                                                                 13/21
Development environment: tips
    Always develop with display_errors = On, log_errors = On,
●


    error_reporting = E_ALL set in php.ini

    Quiz: where is the PHP error log? And the webserver one?
●



    XDebug - best friend of OOP PHP (and many others):
●



         Complete stack traces
     –

         Step-by-step debugging (using appropriate IDE)
     –

         code coverage analysis (needs visualization tools)
     –

         Profiling (with kcachegrind/wincachegrind)
     –

    Sever status and configuration pages: mod_info, mod_status,
●


    phpinfo.php, apc.php/eaccelerator.php/xcache.php

                                                                14/21
Dev. environment: more tips
    Cannot do web development without: Firebug
●



    Many other useful Firefox extensions: « Web developer »,
●


    « YSlow », « LiveHTTPHeaders », « IETab », « Console2 »,
    «Selenium IDE»

    For developers on windows: UNXUTILS (from sourceforge.net)
●



    In production environments:
●



         Always use an opcode cache (APC, Eaccelerator, Xcache,
     –

         Zend)

         Sever status and configuration pages: mod_info,
     –

         mod_status, phpinfo.php, apc.php/xcache.php/...


                                                               15/21
Installation 1: via PEAR
1. Set up properly PHP 5.2 and PEAR

2. Add the components.ez.no channel to the PEAR installer
      pear channel-discover components.ez.no
3. Download the components
      pear install -a ezc/eZComponents
    To upgrade an existing installation:
●



      pear upgrade ezc/eZComponents
    pear help <commandname> is your friend!
●




                                                            16/21
Installation 2: via SVN
For developers interested in the development of the library or
needing a patch that has just been implemented

1. Set up properly PHP 5.2 and an svn client

2. Create an install directory and download the components in it
    svn co http://svn.ez.no/svn/ezcomponents/trunk
3. Download and run the script tho set up the dev environment
    svn co http://svn.ez.no/svn/ezcomponents/scripts
    ./scripts/setup-env.sh (or scriptssetup-env.bat)

    It is of course possible to checkou only some components - take
●


    care about dependencies!


                                                                 17/21
Installation 3: quot;old skoolquot; (aka manually)

1. Download and decompress the tarball
  wget   http://ezcomponents.org/files/downloads/
         ezcomponents-2008.2.1.tar.bz2
  tar -xjf ezcomponents-2008.2.1.tar.bz2


3. Set up properly the PHP Include Path   (there's no 2!)




                                                            18/21
Configuration
    Include path: automatically set up by PEAR, otherwise the root
●


    dir where the software has been downladed needs to be added

    Autoload: all the eZComponents classes are automatically
●


    loaded from ezcBase (no need to include_once/require_once)
    require_once quot;Base/base.phpquot;;
    function __autoload( $className )
    {
            ezcBase::autoload( $className );
    }
    NB: for installations by SVN o tarball
●



    require_once quot;Base/src/base.phpquot;;


                                                              19/21
And now...


The code!



             20/21
Questions?
             Thanks for the attention!

                  http://ezcomponents.org

        http://ez.no/community/forums/ez_components

        http://lists.ez.no/mailman/listinfo/components


Gaetano Giunta
  Senior consultant
  eZ Systems Western Europe
  email : gg@ez.no


                                                         21/21

Weitere ähnliche Inhalte

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

[Conférence Frameworks PHP à EPITA] - 19/03/2009 - Présentation eZ Components.pdf

  • 1. PHP Frameworks: Introduction to eZ Components www.ezcomponents.org Roland Benedetti, Gaetano Giunta EPITA, Paris 19/3/2009 www.ez.no
  • 2. Agenda Introduction ● Architecture and design ● New in the latest releases ● Roadmap ● Examples of usage ● Questions / other ● 2/21
  • 3. eZ Components – what is it? « a high-quality library of independent components that aid in the development of Web-centric applications » That is... Not a framework ... but a set of loosely coupled components. They can be used individually or together Not geared exclusively towards web development ... but especially suited to web development Available with a New BSD license and support from eZ Systems 3/21
  • 4. Goals of the library A solid platform to ease development of applications in PHP 5 ● relieving the coders from reinventing the wheel every time Simple and consistent API, OO « clean » design ● Do not impose a structure on everything: not a framework ● Keep full binary and API compatibility as long as possible ● High priority given to stability and regression avoidance ● 100% Open Source, clear attribution of rights ● Developed, maintained and supported by eZ Systems ● 4/21
  • 5. Development methodologies Take full advantage of libraries and language functionality ● available from PHP 5.1 (minimum supported version: 5.1.6 / 5.2.1, depending on release) Every API is discussed and documented in a design doc before ● being implemented Pervasive usage of unit testing – tests are written BEFORE ● code Both inline (phpdoc à gogo) and offline (tutorials, reference, ● installation guide) documentation. Documentation is written during development, not afterwards ● 5/21
  • 6. Architecture: class naming Usage of a prefix, because of lack of namespacing (waiting for ● PHP 5.3): ezcXXX Readable: better long understandable names than short and ● cryptic Sometimes « adjusted » for readability ● eg: ezcMailSmtpTransport vs. EzcMailSMTPTransport ezcTestSuite vs. PHPUnit2_Framework_TestSuite ...and many other rules you can find on ● http://ezcomponents.org/contributing/coding_standards.html 6/21
  • 7. Architecture: dependencies The less, the better... ● ... avoiding duplication of code ● Only where necessary ● Usage of separate ● Components to implement them 7/21
  • 8. General class schema Classes are grouped into Packages 8/21
  • 9. Components galore! Cool stuff Boring stuff Cache Database abstraction ● ● (including ddl manipulation) ImageAnalysis and ● PersistentObject ● Conversion Authentication ● Graph Template ● ● Configuration Workflow ● ● Eventlog and Debug ● Webdav Mail ● ● ConsoleTools Search (new!) ● ● Feed (new!) ● Document (new!) MVC (new!) ● ● 9/21
  • 10. Latest additions: 2008.1 New component: Document. It allows to convert documents ● between different formats (at the moment conversion from ReST to XHTML and DocBook is supported) New component: Feed. It parses and generates RSS1, RSS2 and ● ATOM feeds New component: Search. provides a unified interface to ● different search engine back-ends (at the moment, only a Solr back-end is supported) Improved: hierarchical caching in the Cache component; Cairo ● driver support for the Graph component; binary data support in PersistentObject, integration between Translation and Template; etc... 10/21
  • 11. Latest additions: 2008.2 New component: MvcTools (we are a framework after all!) ● Improved: Document supports wiki (Confluence, Creole and ● DokuWiki style) and eZ Publish xml formats, reads xhtml, writes ReST Improved: Webdav supports authentication and authorization, ● shared and exclusive write locks 11/21
  • 12. Roadmap: 2009.1 Focus: improve the new MVC support in eZ Components by ● making it both more powerful and easier to use Introduce the quot;Frameworkquot; component Authentication: add support for OpenID 2 ● Document: support for PDF writing and the support of layouts ● while writing; support for ODF reading and writing and the support of layouts while writing Search: support for the Zend_Search_Lucene backend ● PersistentObject: automatic fetching of related objects; identity ● mapping to avoid having 2 objects with the same db state 12/21
  • 13. System Requirements PHP version 5.2.1 (for 2008.2 and later) ● Some php extensions are needed by some components, or thay ● are transparently used to provide extra features ex: Archive needs zlib (present in the default install of PHP) and ● bz2, opzionally can use « posix » for management of file permissions Detailed list at: ● http://ezcomponents.org/overview/requirements.html (it includes a quick reference on compilation of missing extensions) 13/21
  • 14. Development environment: tips Always develop with display_errors = On, log_errors = On, ● error_reporting = E_ALL set in php.ini Quiz: where is the PHP error log? And the webserver one? ● XDebug - best friend of OOP PHP (and many others): ● Complete stack traces – Step-by-step debugging (using appropriate IDE) – code coverage analysis (needs visualization tools) – Profiling (with kcachegrind/wincachegrind) – Sever status and configuration pages: mod_info, mod_status, ● phpinfo.php, apc.php/eaccelerator.php/xcache.php 14/21
  • 15. Dev. environment: more tips Cannot do web development without: Firebug ● Many other useful Firefox extensions: « Web developer », ● « YSlow », « LiveHTTPHeaders », « IETab », « Console2 », «Selenium IDE» For developers on windows: UNXUTILS (from sourceforge.net) ● In production environments: ● Always use an opcode cache (APC, Eaccelerator, Xcache, – Zend) Sever status and configuration pages: mod_info, – mod_status, phpinfo.php, apc.php/xcache.php/... 15/21
  • 16. Installation 1: via PEAR 1. Set up properly PHP 5.2 and PEAR 2. Add the components.ez.no channel to the PEAR installer pear channel-discover components.ez.no 3. Download the components pear install -a ezc/eZComponents To upgrade an existing installation: ● pear upgrade ezc/eZComponents pear help <commandname> is your friend! ● 16/21
  • 17. Installation 2: via SVN For developers interested in the development of the library or needing a patch that has just been implemented 1. Set up properly PHP 5.2 and an svn client 2. Create an install directory and download the components in it svn co http://svn.ez.no/svn/ezcomponents/trunk 3. Download and run the script tho set up the dev environment svn co http://svn.ez.no/svn/ezcomponents/scripts ./scripts/setup-env.sh (or scriptssetup-env.bat) It is of course possible to checkou only some components - take ● care about dependencies! 17/21
  • 18. Installation 3: quot;old skoolquot; (aka manually) 1. Download and decompress the tarball wget http://ezcomponents.org/files/downloads/ ezcomponents-2008.2.1.tar.bz2 tar -xjf ezcomponents-2008.2.1.tar.bz2 3. Set up properly the PHP Include Path (there's no 2!) 18/21
  • 19. Configuration Include path: automatically set up by PEAR, otherwise the root ● dir where the software has been downladed needs to be added Autoload: all the eZComponents classes are automatically ● loaded from ezcBase (no need to include_once/require_once) require_once quot;Base/base.phpquot;; function __autoload( $className ) { ezcBase::autoload( $className ); } NB: for installations by SVN o tarball ● require_once quot;Base/src/base.phpquot;; 19/21
  • 21. Questions? Thanks for the attention! http://ezcomponents.org http://ez.no/community/forums/ez_components http://lists.ez.no/mailman/listinfo/components Gaetano Giunta Senior consultant eZ Systems Western Europe email : gg@ez.no 21/21