PHP has been my main language for years, but I want to learn other languages to create web apps. The thing I like the most of PHP is how easy it is to deploy and develop an application. When deploying your app, you only have to update the files with a file transfer or a deployment script, because a PHP interpreter is always running.<p>Furthermore, all PHP frameworks like Yii, Laravel and CodeIgniter follow the same conventions for structuring a project.<p>I've tried to learn Django and like the syntax. However, I don't like the idea that a project contains multiple apps. I prefer to have large applications that do multiple things. Also, the whole template/view part is a bit confusing for me.<p>I'm curious what other platforms/languages are the most similar to the structure and deployment of Yii and Laravel projects.<p>The Java play framework seems like an interesting option.
Ruby on Rails. You'll immediately notice an 'app' directory. Resources are in app/assets, controllers in app/controllers, models in app/models and views in app/views. There's a routes.rb file and a command line interface ('rake routes' does the same as 'php artisan routes:list', 'rake db:migrate' is the same as 'php artisan migrate').<p>While you can deploy Rails by just copying files (it will reload classes and recompile assets on page refresh whenever possible) it's still a best practice to have the dev and production environment different.
See also <a href="https://news.ycombinator.com/item?id=14974767" rel="nofollow">https://news.ycombinator.com/item?id=14974767</a>