symfony: PHP doesn’t have to be crap… … and how we used it to bring  Web 2.0 to Edge Hill University Michael Nolan www.mic...
Coming up… <ul><li>Edge Hill University and Me </li></ul><ul><li>Frameworks are the future </li></ul><ul><li>PHP Pros and ...
Edge Hill University <ul><li>Established 1885 </li></ul><ul><li>University status in 2006 </li></ul><ul><li>8160 full time...
Edge Hill University & Me <ul><li>Small centralised team </li></ul><ul><li>Develop, Content, Design, Manage </li></ul><ul>...
Why use a framework? <ul><li>Work around differences in environments </li></ul><ul><li>Write to defined coding standards <...
PHP Pros and Cons <ul><li>Good </li></ul><ul><li>Cheap hosting </li></ul><ul><li>Developers for hire </li></ul><ul><li>Sta...
Introducing symfony <ul><li>PHP 5 only </li></ul><ul><li>Excellent documentation </li></ul><ul><li>XSS </li></ul><ul><li>M...
Admin Generator
Admin Generator
Debugging Tools
Plugins <ul><li>Forum </li></ul><ul><li>Blog </li></ul><ul><li>(Simple) CMS </li></ul><ul><li>User Management </li></ul><u...
Key Advantages <ul><li>Write  less code </li></ul><ul><li>More time for  business rules </li></ul><ul><li>Documentation </...
Putting it into practice
Edge Hill University 2.0 <ul><li>Word of mouth  – user reviews </li></ul><ul><li>More  collaborative  tools – everyone can...
Trends <ul><li>3,344 members in Edge Hill Facebook Network </li></ul><ul><li>Only 25% of students use our email accounts <...
“ Everything you can do I can do better ” Everything you provide I can (usually!) get for free
“ 100MB inbox?! I can get twenty times that for free… …and it always works! ”
Edge Hill University is in the middle of nowhere, has p*ss poor student nightlife and is full of arrogant d*ckheads
We’re not afraid – we embrace it!
Let the students do the talking <ul><li>Open up  areas for student discussion </li></ul><ul><li>Aggregate  content from ac...
 
 
Lessons <ul><li>SSO is a real PITA </li></ul><ul><li>Unit and functional tests don’t get written if you don’t do them firs...
Find out more about symfony <ul><li>www.symfony-project.com </li></ul><ul><li>Complete book released under GFDL </li></ul>...
exit;
Upcoming SlideShare
Loading in...5
×

symfony: PHP doesn't have to be crap

8,917

Published on

Introduction to symfony and some case studies of how we've used it at Edge Hill University

Published in: Technology
0 Comments
7 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
8,917
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
7
Embeds 0
No embeds

No notes for slide

symfony: PHP doesn't have to be crap

  1. 1. symfony: PHP doesn’t have to be crap… … and how we used it to bring Web 2.0 to Edge Hill University Michael Nolan www.michaelnolan.co.uk blogs.edgehill.ac.uk/webservices
  2. 2. Coming up… <ul><li>Edge Hill University and Me </li></ul><ul><li>Frameworks are the future </li></ul><ul><li>PHP Pros and Cons </li></ul><ul><li>symfony </li></ul><ul><li>How we’re using it </li></ul><ul><li>Some time for questions – maybe about 25 minutes… </li></ul>
  3. 3. Edge Hill University <ul><li>Established 1885 </li></ul><ul><li>University status in 2006 </li></ul><ul><li>8160 full time students </li></ul><ul><li>Centrally located… in Ormskirk! </li></ul><ul><li>Web is important </li></ul>
  4. 4. Edge Hill University & Me <ul><li>Small centralised team </li></ul><ul><li>Develop, Content, Design, Manage </li></ul><ul><li>Web Applications Project Manager </li></ul><ul><li>At Edge Hill for ~1 year </li></ul>
  5. 5. Why use a framework? <ul><li>Work around differences in environments </li></ul><ul><li>Write to defined coding standards </li></ul><ul><li>Templating </li></ul><ul><li>More maintainable code </li></ul><ul><li>Don’t reinvent the wheel </li></ul>
  6. 6. PHP Pros and Cons <ul><li>Good </li></ul><ul><li>Cheap hosting </li></ul><ul><li>Developers for hire </li></ul><ul><li>Stable </li></ul><ul><li>Libraries </li></ul><ul><li>Support </li></ul><ul><li>Documentation </li></ul><ul><li>Bad </li></ul><ul><li>Bad reputation </li></ul><ul><li>Spaghetti code </li></ul><ul><li>Amateurish </li></ul><ul><li>Inconsistent syntax </li></ul><ul><li>Reinventing the wheel </li></ul>
  7. 7. Introducing symfony <ul><li>PHP 5 only </li></ul><ul><li>Excellent documentation </li></ul><ul><li>XSS </li></ul><ul><li>MVC </li></ul><ul><li>Routing </li></ul><ul><li>ORM – Propel or Doctrine </li></ul><ul><li>i18n / l10n </li></ul>
  8. 8. Admin Generator
  9. 9. Admin Generator
  10. 10. Debugging Tools
  11. 11. Plugins <ul><li>Forum </li></ul><ul><li>Blog </li></ul><ul><li>(Simple) CMS </li></ul><ul><li>User Management </li></ul><ul><li>Atom/RSS Feed mangling </li></ul>
  12. 12. Key Advantages <ul><li>Write less code </li></ul><ul><li>More time for business rules </li></ul><ul><li>Documentation </li></ul><ul><li>symfony 1.0 maintained for a long time </li></ul>
  13. 13. Putting it into practice
  14. 14. Edge Hill University 2.0 <ul><li>Word of mouth – user reviews </li></ul><ul><li>More collaborative tools – everyone can have their say </li></ul><ul><li>What is a trusted source? </li></ul><ul><li>Informal communications </li></ul>
  15. 15. Trends <ul><li>3,344 members in Edge Hill Facebook Network </li></ul><ul><li>Only 25% of students use our email accounts </li></ul><ul><li>No sense of privacy or protection of identity </li></ul>
  16. 16. “ Everything you can do I can do better ” Everything you provide I can (usually!) get for free
  17. 17. “ 100MB inbox?! I can get twenty times that for free… …and it always works! ”
  18. 18. Edge Hill University is in the middle of nowhere, has p*ss poor student nightlife and is full of arrogant d*ckheads
  19. 19. We’re not afraid – we embrace it!
  20. 20. Let the students do the talking <ul><li>Open up areas for student discussion </li></ul><ul><li>Aggregate content from across the University </li></ul><ul><li>Provide feeds for use elsewhere </li></ul><ul><li>Allow students the choice to use our services or their own </li></ul>
  21. 23. Lessons <ul><li>SSO is a real PITA </li></ul><ul><li>Unit and functional tests don’t get written if you don’t do them first </li></ul><ul><li>Bugs happen – get over it </li></ul><ul><li>Trust the students; they usually do the right thing </li></ul>
  22. 24. Find out more about symfony <ul><li>www.symfony-project.com </li></ul><ul><li>Complete book released under GFDL </li></ul><ul><li>Forum – helpful community </li></ul><ul><li>Wiki – plugins, user documentation, translations </li></ul><ul><li>Revamp coming soon, apparently </li></ul>
  23. 25. exit;

×