Your SlideShare is downloading. ×
Kohana 3.1
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Kohana 3.1

4,197
views

Published on

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 :)

Published in: Technology

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

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