A Pragmatic Look At Symfony (The PHP5 framework) by Darren Beale Skillswap Bristol - 26 th July 2007.

Slides:



Advertisements
Similar presentations
How to Deploy a Cloud Based Webserver in 5 minutes.
Advertisements

PHP + Framework + MVC. What is Framework? Common code - Generic functionality Extensible - Specific functionality Unlike library – Flow Dictated by.
Other Web Application Development Technologies. PHP.
About Me CTO, Individual Digital, Inc. (Startup) Author of ext/tidy, PHP 5 Unleashed, Zend Ent. PHP Patterns
12 October 2011 Andrew Brown IMu Technology EMu Global Users Group 12 October 2011 IMu Technology.
Ian J Robotham Software Development Lead Medi-CAL Unit, University of Aberdeen.
My Very First… Model View Controller Web Application with the Zend Framework New York City ZF Meetup.
A Blackboard Building Block™ Crash Course for Web Developers
INTRODUCTION TO ASP.NET MVC AND EXAMPLE WALKTHROUGH RAJAT ARYA EFECS - OIM DAWG – 4/21/2009 ASP.NET MVC.
Using Drupal for Your Organizational Website (or, how to use Drupal without cursing) Michelle Murrain Nonprofit Open Source Initiative MetaCentric Technology.
OpenAtrium A Drupal Distribution for Online Collaboration Bud Witney Systems Manager Horticulture & Crop Science Department.
REQUIREMENTS Before starting, these requirements should be met: Service Body Requirements Trusted Servant Requirements Server/ISP Requirements Budget.
IWay Service Manager 6.1 Product Update Scott Hathaway iWay Software Copyright 2010, Information Builders. Slide 1.
Open Source Content Management System - JOOMLA Swapnil S. Chafale Nagpur (M.S.) India Paper-Presentation For ATCON-2009 Conference.
DR. MOHAMMAD IQBAL THANKS TO ADITYA SENGUPTA Comparing Web Frameworks.
Securing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
Introducing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
Struts 2.0 an Overview ( )
RUBY ON RAILS It’s so rad. What we’ll cover  What is Ruby?  What is RoR?  Why RoR?  Developing with RoR  Deployment  Demo  Questions.
Ruby on Rails. What is Ruby on Rails? Ruby on Rails is an open source full-stack web framework. It is an alternative to PHP/MySQL. It can render templates,
Joomla!. What is Joomla! Joomla! is the largest Open Source Content Management System (CMS) for publishing on the World Wide Web Using a CMS allows non-technical.
Project Rickshaw SEARCH - FIND - GO. Project Rickshaw TEAM MEMBERS KEVIN AUGUSTINO – MATT FOX – DAVID MOORE SPONSORS KARASU TECHNOLOGIES - ERIK PAUL -
Choosing a web CMS and an introduction to Modx March 2010.
Content Management Systems Equals Distributed Web Site Maintenance Robert Gulick, EdD DBA / Technology Trainer Carmi Gulick.
ZFApp Preview Walkthrough. What is ZFApp? ZFApp is an application framework built on top of Zend Framework Fully compatible with the latest ZF Versions.
WordPress Web. WordPress Blogging system with full content management Personal publishing system Built on PHP scripting language and MySQL relational.
AIT 616 Fall 2002 PHP. AIT 616 Fall 2002 PHP  Special scripting language used to dynamically generate web documents  Open source – Free!!!  Performs.
What is Drupal? Open Source software written in php. A CMS or content-management system. A sophisticated web application building tool.
Codeigniter is an open source web application. It occupies a very small amount of space in the memory and is most useful for developers who aim to develop.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
Joomla An Open Source Content Management System. Scope of Workshop Definition and background of Joomla Explanation of Joomla’s abilities and strengths,
Introduction to Model-Glue Rachel Lehman Perpetual Intermediate Designer-Developer Introduction to Model-Glue.
Symfony web development framework is used to develop rapid, complex and large scale web applications faster and in an effective way.
PHP Features. Features Clean syntax. Object-oriented fundamentals. An extensible architecture that encourages innovation. Support for both current and.
Proposal for the new group web infrastructure SFT Group meeting 3/7/2009 Yves Perrin.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
JakeShop A complete application for online commerce by Jake Feasel.
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
1 OGM Presentation for Your Hospital Today. 2 The Ongoing Maintenance Program The OGM Program Components.
Sample School Website. What is wrong with the existing School Webspace Site? Can only host static pages – no dynamic content possible. Can not be edited.
Integrating EPICS and LabVIEW on Windows using DCOM Freddie Akeroyd ISIS Computing Group.
Apache JMeter By Lamiya Qasim. Apache JMeter Tool for load test functional behavior and measure performance. Questions: Does JMeter offers support for.
1 PUPPET AND DSC. INTRODUCTION AND USAGE IN CONTINUOUS DELIVERY PROCESS. VIKTAR VEDMICH PAVEL PESETSKIY AUGUST 1, 2015.
Copyright © 2012 UNICOM Systems, Inc. Confidential Information z/Ware Product Overview illustro Systems International A Division of UNICOM Global.
MVC WITH CODEIGNITER Presented By Bhanu Priya.
Date : 3/04/2010 Web Technology Solutions Class: PHP Web Application Frameworks.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Intro to APACHE, MySQL, and PHP & freely available (hackable) Packages Aonghus Sugrue 04 Oct 2012.
APACHE STRUTS ASHISH SINGH TOMAR ast2124. OUTLINE Introduction The Model-View-Controller Design Pattern Struts’ implementation of the MVC Pattern Additional.
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Understanding and implementing the remote provision pattern in SharePoint.
PHP on Windows server. About PHP history, usage [ 3 ] Basics about PHP Open, free, object oriented (recently added namespaces), procedural, type free.
Your current Moodle 1.9 Minimum Requirements Ability to do a TEST RUN! Upgrading Moodle to Version 2 By Ramzan Jabbar Doncaster College for the Deaf By.
START Application Spencer Johnson Jonathan Barella Cohner Marker.
INFM 700 Project 3 (Aqua) - Akashdeep Ray - Arnaud Lawson - Neha AR - Vidisha Vedvyas.
Expertsfromindia for Joomla Development. Introduction Joomla is an open source and free content management system (CMS) for publishing content on the.
Drupal Basics May 30, 2012 By Sean Fitzpatrick. Sean Fitzpatrick | Welcome We're going to talk about Drupal We're going to keep it pretty.
Developing Scalable Web Applications with PHP 5 and Symfony Jeff Jirsa Uniforum Chicago March 27, 2007.
Web Technology Solutions
Why Laravel Is The Best PHP Framework In ?
Top 12 PHP Frameworks 2016.
Introducing Symfony Composer, Bundles, Symfony Framework Georgi Gyurov
MVC Architecture, Symfony Framework for PHP Web Apps
Programmer: Roman Martushev
Jeff Coughlin FarCry 3.0 An Overview Jeff Coughlin
AVOIR -African virtual
Task Management System (TMS)
Top Reasons to Choose Angular. Angular is well known for developing robust and adaptable Single Page Applications (SPA). The Application structure is.
BOF #1 – Fundamentals of the Web
Presentation transcript:

A Pragmatic Look At Symfony (The PHP5 framework) by Darren Beale Skillswap Bristol - 26 th July 2007

Who am I?  Front-end & PHP Developer since 1998  Owner/Manager of Siftware Ltd in Upton-upon-Severn  Siftware is 1 yr old & provides outsourced web dev services to design and development agencies  The business thing is starting to interest me more than the tech  Previous to Siftware I spent 8 years in London  4 years as contractor/employee Front-end (inc Flash), PHP, Coldfusion and 1 year as *nix sysadmin  4 years as owner/manager of Exponetic Ltd in Bethnal Green Grew it up to 8 staff then exited It is still going strong  Underscore member all that time, although  I left Bristol within months of subscribing  I don’t post as much as I used to  This is my first meeting, hello! A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale

What about you? A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale  …wave them like you just don’t care  How many of you are techies?  How many do mostly PHP dev?  Do any of you use frameworks?  Symfony?

What’s I’ll be covering A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale  Why use a framework?  Intro to Symfony  Symfony’s MVC implementation  Coding a simple web application from scratch  Areas for Improvement  Summary  What next?

Why use a framework? A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale  Factors out common patterns  Code layout  Config  URL routing  Authentication and Security  Form validation  Internationalisation/Localisation  Encourages good design and allows one to easily utilise best practices

Intro to Symfony A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale  symfony-project.com symfony-project.com  Written in PHP5  Superb documentation  including a couple of sample applications  The book is open source and available online  Forums, wiki, mailing list as one would expect  Lots of plugins including  CMS  Forum  Blog

Intro to Symfony cont… A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale  Recommended configuration  Apache with mod_rewrite  PHP5.2.x  Simple to install  Pear #> pear channel-discover pear.symfony-project.com #> pear install symfony/symfony  Apache, add alias in your VirtualHost, e.g. Alias /sf /usr/share/php/data/symfony/web/sf

Intro to Symfony cont… A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale  Minimal dependencies, all included  Creole Database Abstraction Support for MySQL, PostgreSQL, SQLite, MSSQL  Propel Object Relationship Mapping About to officially support Doctrine too but can already use via plugin  PAKE Library for easy command line tasks  LIME Library for easy unit and functional testing  Plus… Prototype Script.aculo.us TinyMCE (WYSIWYG) DynArch.com Rich Calendar

Symfony’s MVC implementation A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale  Model  Data access and manipulation  Based on Propel (by default)  Built in tools for pagination, sorting and filters  Model can be configured using XML or YAML  Symfony builds your model for you! #> symfony propel-build-model  Symfony provides classes ready for you to extend your model

Symfony’s MVC implementation cont… A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale  View  Presentation layer  Global layout and configuration Each action can have its own sub template View config can go down as low as actions  Symfony uses PHP as its templating language There’s a Smarty plugin  Partials and Slots Template fragments without business logic  Components Template fragments with business logic

Symfony’s MVC implementation cont… A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale  Controller  Routes the business logic  Each ‘module’ has a controller class with a number of ‘action’ methods  Automatic conversion of the URL into the appropriate module/action  Pre and post execute methods

Lots of coding A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale  Lets get our hands dirty  Dev environment is Windows XP (sorry) with Debian server running under VMWare with Apache, PHP, MySQL and Samba  Apache document root is a Samba share mapped as a drive  The app I’m going to build is very simple. I had bigger plans but I de-scoped as I went along

Summary A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale  We talked about  Why frameworks are A Good Thing  Intro to Symfony  Symfony’s MVC implementation  Coding a simple web application from scratch  Areas for Improvement

Areas for Improvement A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale  I think Symfony is superb and has got a huge amount going for it  That said, there are a few area that niggle me  Some of the build process is a bit flakey  Well it is for me anyway  Especially around refactoring  Seems a bit magic sometimes  But one could argue that’s the point  Forums and mailing lists are not always particularly helpful  They seem to be more helpful when you know what you’re talking about (e.g. the documentation is already superb, go read that)  Some would argue this as a positive as it leaves the mailing lists free of noise

What next? A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale  For more information  Symfony-project.com Try the sample application there or Askeet! the 24 day sample project  Feel free to me with questions  I’ll put these slides up on along with the codehttp://bealers.com

A Pragmatic Look At Symfony (The PHP5 framework) for Skillswap Bristol by Darren Beale