Thanks @aavrug for replying.
I might have been unclear about what I am looking for.
I have cakePHP cookbook but had a lot of trouble setting up cakePHP on my machine.
I am looking for an online resource to create/edit Models, Controllers and Views on an online editor and see the result also online.
Please let me know if you have any queries.