Successfully reported this slideshow.
Your SlideShare is downloading. ×

Kohana 3.1

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Loading in …3
×

Check these out next

1 of 50 Ad

Kohana 3.1

Download to read offline

Slides I used for a presentation of Kohana 3 and it's features. Of course, there is a lot missed here but you should keep one thing in mind: Kohana is the best PHP framework. End of story :)

Slides I used for a presentation of Kohana 3 and it's features. Of course, there is a lot missed here but you should keep one thing in mind: Kohana is the best PHP framework. End of story :)

Advertisement
Advertisement

More Related Content

Slideshows for you (19)

Advertisement

Similar to Kohana 3.1 (20)

Recently uploaded (20)

Advertisement

Kohana 3.1

  1. 1. Kohana VS Yii<br />By Kemal Delalic (kemal.delalic@gmail.com)<br />
  2. 2. Kohana & VS Yii<br />Two different worlds.<br />
  3. 3. Framework buzz<br />30+ modern PHP frameworks<br />Different approaches<br />Hard to choose<br />Even harder to follow<br />
  4. 4. “Let’s fix what we have”<br />EllisLabs’s slow development<br />Trying to improve CodeIgniter<br />Community rejection<br />BlueFlame<br />
  5. 5. “Let’s make it better”<br />PHP5<br />Independant<br />Faster development<br />Kohana 2<br />
  6. 6. “Let’s make it much better”<br />Complete rewrite<br />Keep it simple<br />No magic<br />Kohana 3<br />
  7. 7.
  8. 8. Kohana and I<br />Used major frameworks for actual development before:Zend Framework, Symfony, CakePHP, CodeIgniter, etc.<br />Had to work on a Kohana 3.0.0. project<br />“Man, this looks bad”<br />
  9. 9. STRESS<br />
  10. 10. I have to install new PHP?<br />Why aren’t method names like in Zend Framework?<br />Feels “limited”?<br />How to use this after ZF which is so ... awesome and full of everything?<br />Where is the documentation?<br />
  11. 11.
  12. 12. REVELATION<br />
  13. 13. PHP 5.2<br />Because it was already here.<br />
  14. 14. Strict development and conventions.<br />Extremely strict.<br />
  15. 15. Code is a symphony<br />and you feel like an artistwriting it<br />
  16. 16. Write your own code<br /> instead of having it generated for you<br />
  17. 17. No magic stuff<br />because nothing happens out of nowhere<br />
  18. 18. DRY<br />You should never repeat yourself.<br />
  19. 19. Speed<br />So fast that no one seems to benchmark against it.<br />
  20. 20. Makes sense<br />Everything is isolated and in it’s place<br />
  21. 21. Unit tested<br />Having something safe and tested can’t be bad.<br />
  22. 22.
  23. 23. The Core<br />Only what PHP misses natively<br />
  24. 24. Full UTF-8 support<br />Because 6 isn’t coming soon<br />
  25. 25. Cascading File System<br />You don’t know how much you always needed it.<br />
  26. 26. Use Class, extend Kohana_Class<br />
  27. 27. HMVC<br />(Hierarchical Model-View-Controller)<br />
  28. 28. RFC 2616<br />
  29. 29. Speaking of DRY<br />
  30. 30. Routes help you<br />not to get lost<br />
  31. 31. Profile<br />
  32. 32. __(‘Internationalization’)<br />As easy as it can be<br />
  33. 33. Helpers<br />Classes like any others<br />Powerful toolset<br />Arr<br />CLI<br />Cookie<br />Date<br />Debug<br />Encrypt<br />Feed<br />File<br />Form<br />Fragment (caching)<br />HTML<br />I18n<br />Inflector<br />Log<br />Num<br />Security<br />Session<br />Text<br />Upload<br />URL<br />UTF8<br />Validation<br />
  34. 34.
  35. 35. Modularity<br />Force powered by CFS<br />
  36. 36. Default modules<br />Auth<br />Cache<br />Codebench<br />Database<br />Image<br />ORM<br />UnitTest<br />Userguide<br />
  37. 37. Auth<br />Provides basic tools for authentication<br />Driver support – file auth by default<br />
  38. 38. Cache<br />Driver support – all popular drivers<br />Very easy to use and change driver later<br />
  39. 39. CodeBench<br />Easy benchmarking interface on application level<br />
  40. 40. Database<br />Powerful object oriented interface<br />Multiple driver support, MySQL and PDO by default<br />
  41. 41. Image<br />Provides extremely easy interface for image manipulation<br />Feels like Photoshop<br />
  42. 42. ORM<br />ActiveRecord pattern<br />Respect and be respected (conventions)<br />
  43. 43. Unittest<br />Web interface for running all unit tests from a single place: app, modules, framework<br />
  44. 44. Userguide<br />All framework documentation in one place<br />Application’s API documented “on-the-fly”<br />Perfect for collaboration and new developers arriving to the project<br />
  45. 45.
  46. 46. Community modules<br />500+ modules<br />Use Zend Framework or any other library as a module<br />Obvious Kohanas’ affection on module authors’ code quality<br />
  47. 47.
  48. 48. People behind Kohana<br />Small, yet very elite community<br />
  49. 49. Rasmus Lerdorf<br />is well known for “hating” frameworks<br />
  50. 50. Thank you <br />Please join the Kohana workshop<br />

×