Skip to content
codeguy edited this page Sep 26, 2010 · 155 revisions

Slim Framework: RoadMap Working Draft

Created September 25, 2010

This is the official Slim framework roadmap working draft. This is a living document that may very well change in the future. Phase 1 will be completed first, followed by Phase 2 and Phase 3.

About the Slim PHP Framework

Slim is a RESTful micro web framework for PHP 5. I needed a way to create a simple PHP web service with minimum fuss. There are plenty of respectable PHP frameworks, but many of them are too robust for my needs. So I created Slim, a simple DSL for creating PHP web services.

What are Slim's goals?

  1. Remain light-weight, simple, and easy to use for both amateur programmers and professional programmers
  2. Always favor clean syntax and simple solutions instead of messy syntax and complex solutions
  3. Respect the 80/20 rule: satisfy 80% of common use cases rather than muddle the code-base for 20% of edge use cases
  4. Support PHP 5 and above

Phase 1

  • Write initial unit test coverage for primary Slim classes
  • Write Slim class loader
  • Establish Slim version numbering system
  • Migrate Slim documentation to the GitHub Wiki.

Phase 2

  • Add HTTP Caching (LastModified and ETag header support)
  • Add redirect helper method... Slim::redirect( '/path' [, status] );
  • Add pass helper method... Slim::pass();
  • Improve Slim cookie management (send cookies with Response, not when set)
  • Improve error reporting and exception handling
  • Filter GET and POST parameters automatically... see filter_input()
  • Write example custom View classes for Twig, Smarty, Mustache, etc.

Phase 3

  • Select View based upon resource URI extension (ie. serve text/json for .json extension)
  • Add Production and Development modes
  • Add mode-specific application-wide settings
  • Add user-agent condition to Routes
  • Add application-wide route conditions

Clone this wiki locally