Uploaded on

The Presentation was hold during BarCamp Phnom Penh 2011.

The Presentation was hold during BarCamp Phnom Penh 2011.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
977
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
4
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Keo VisayCertified TYPO3 IntegratorHead of TYPO3 Cambodia CommunityFrom Takhmao, KandalLike TYPO3 CodingWorking at Web Essentials
  • 2. Web Essentials Team
  • 3. What is FLOW3?
  • 4. What is FLOW3?PHP-based Web Application PlatformCreates excellent web solutionsFast results!keep your head clear and let you focus on the essential partsReliable foundation for complex applications
  • 5. Why FLOW3?Well-suited for enterprise-grade applicationsEasy-to-read source codeStability, Security, PerformanceUser experienceBacked by one of the biggest PHP communities (6000+ contributors)
  • 6. FLOW3 Core Team
  • 7. FLOW3 Advanced FeaturesSupports Domain-Driven DesignObject Persistence with Doctrine2Test-Driven DevelopmentContinuous IntegrationDependency InjectionFoundation for the TYPO3 Content Management SystemStandalone packages of FLOW3 can turn to TYPO3 CMS plugins easily
  • 8. FLOW3 – The Rocket Science
  • 9. FLOW3 Framework Submodules
  • 10. FLOW3 – The Rocket Science
  • 11. RequirementsServer Environment Supported Operating Systems: Linux Mac OSX Windows
  • 12. Requirements Supported HTTP server platforms: Apache 2 (recommended) NGINX (experimental) IIS (experimental)
  • 13. Requirements PHP: Requires PHP 5.3.2 or higher Supported Database Systems: All systems supported by Doctrine2 can be used with FLOW3
  • 14. InstallationDownload http://flow3.typo3.org/download.htmlSetting correct file permission ./flow3 core:setfilepermissions visay www-data www-dataAdd command line user to the web server group sudo usermod -a -G www-data visay
  • 15. Installation <VirtualHost *:80>Configure your VirtualHost DocumentRoot /var/www/barcamp/Web/ ServerName barcamp.flow3 SetEnv FLOW3_CONTEXT Development <Directory /var/www/barcamp/> AllowOverride AllTesting your installation </Directory> <IfModule mod_negotiation.c> # prevents Apaches automatic file negotiation, it breaks resource URLs Options -MultiViews </IfModule> </VirtualHost>
  • 16. FLOW3 Welcome Screen
  • 17. Demo ApplicationThe Blog Example
  • 18. Kickstart Your First Application ./flow3 kickstart:package Visay.Demo Packages/ Application/ Visay.Demo/ Classes/ Configuration/ Meta/ Resources/ Tests/
  • 19. Hello World?Packages/Application/Visay.Demo/Classes/Controller/
  • 20. User Input
  • 21. Database SetupConfiguration/Settings.yaml
  • 22. Doctrine Migrate./flow3 doctrine:migrate
  • 23. Storing Objects./flow3 kickstart:actioncontroller --generate-actions --generate-related Visay.Demo Customer Created .../Visay.Demo/Classes/Domain/Model/Customer.php Created .../Visay.Demo/Classes/Domain/Repository/CustomerRepository.php Created .../Visay.Demo/Classes/Controller/CustomerController.php Created .../Visay.Demo/Resources/Private/Layouts/Default.html Created .../Visay.Demo/Resources/Private/Templates/Customer/Index.html Created .../Visay.Demo/Resources/Private/Templates/Customer/New.html Created .../Visay.Demo/Resources/Private/Templates/Customer/Edit.html Created .../Visay.Demo/Resources/Private/Templates/Customer/Show.html
  • 24. Application ContextThe FLOW3 Framework can be launched in different application contexts (a setof configuration) Production Development Testing Staging More contexts may be defined by just adding configuration
  • 25. PackagesFLOW3 is a package-based system, even FLOW3 itself Packages act as a container for different matters Contain PHP code which adds certain functionality Contain documentation Consist of templates, images or other resources.
  • 26. Application Fine-tuning Form validation Action Route Route Part Handlers
  • 27. Questions ???
  • 28. References http://flow3.typo3.org/
  • 29. Thank you!