SLIMming Out Your Controller
Description
An introduction to the SLIM PHP framework. This sinatra-like php framework is a great tool for simple JSON endpoints and light server-side application development.
Tags
json endpoint, mvc, rest, slim
An introduction to the SLIM PHP framework. This sinatra-like php framework is a great tool for simple JSON endpoints and light server-side application development.
json endpoint, mvc, rest, slim
For some odd reason, I can’t play this video. The plugin crashes everytime. I’m running Flash 11,0,1,60 64bit in Firefox on Ubuntu 11.10. I can play all the other videos that I’ve tried on this site though.
@richard I’ll look into it today. Thanks for letting me know.
unable to see the video… can’t starting…
@richard
I had the same issue last week (Flash kept crashing over and over)
As I am using FF 7.0 (on Ubuntu 10.04 64-bit), I had to get the latest Flash plugin from Adobe.
Well I can’t view the player with Chrome on LUbuntu 10.04 64bit.
Indeed I’m having the same problem as @Richard
im having the same problems in chron
Great screencast and interesting choice. Didnt knew about Slim till now. As for the vim part you can always :pwd to see where you are and :cd /into/folder/i/like . I would suggest http://www.vim.org/scripts/script.php?script_id=2540 for textmate like snippets and http://www.vim.org/scripts/script.php?script_id=1658 for project explorer. I would like to note that it is also interesting to see http://laravel.com/ , it have a similar approach in terms of development.
Tnx
Nice one! but could you please disable short_open_tags (or are those asp tags your using in the tpl file) ? its not the standard on most servers and conflicts with xml headers. and thus the php community should be taught not to use them (in my humble opinion)
It would be nice if you could spread these best practices
@Stefano: I have to disagree about the short tags. I’m not a fan of additional markup, especially since PHP *is* a templating language (= instead of
I used to be able to watch the videos from my iPad but now I get an error saying that I don’t have flash player
@Wladimir: This should be fixed now. I upgraded my player and I missed a configuration step.
You should cut Flash for good, it’s not needed anymore for anything sane in the internet. Use SublimeVideo (https://www.sublimevideo.net/) which does a decent job at http://railscasts.com as well. Flash sucks so badly that I can’t wait to see it die.