Slimstart
Slimstart is a setup for getting up to speed with your PHP5+ web quickly. It is based on:
- Slim Framework (Sinatra-like lightweight PHP framework)
- Mustache (Logicless templating for PHP and JS)
- Layout based on HTML5 Boilerplate
- Compass + SASS for cleaner and more maintainable CSS
- Twitter Bootstrap (Sass-version)
- CoffeeScript for cleaner and more maintainable JavaScript code
- Modernizr for IE HTML5 element support and HTML5 feature detection
- jQuery for easier DOM-manipulation and plugin ease
- CSS Reset for resetting the browser design quirks
- Mustache.js for client side rendering
Sass: (Need to have SASS and Compass installed)
$ gem update —system
$ gem install compass
CoffeeScript (Need Node.js and Node Package Manager (npm))
$ npm install -g coffee-script
Run environment (Requires tmux):
$ cd {project_home}
$ ./ridge start
Everything should work from start (if you are using nginx you have to modify the nginx.conf file according to your local setup), go to
http://slimstart.dev/hello/
and you should see “Hello world”
Go to
http://slimstart.dev/hello/ridgestreet
and you should see “Hello ridgestreet”
Whats next?
- Next is MySQL and MongoDB-support
- Automatic REST-API:s for Models
- JSON.js for client side rendering and POSTs
- History.js for HTML5 pushState support and client side rendering
- *.json to serve content as application/json
- ?callback=func to support JSONP out-of-the-box
- Decide whether or not a template should be exported to client
- Filter what items should be visible when client-rendering
- Static file concatenation, compression and optimization
- Yslow and Page Speed configurations set in .htaccess and nginx.conf
- Support for navigation configuration
- Support for more server side solutions, Flask (Python), Sinatra (Ruby) and ?
Wanna see something else? Clone Slimstart on Github and implement it, send a pull reqeust or send me an email on info@ridgestreet.se to start the conversation.