Tag Archives: Laravel

Laravel for Django developers, part 3

During the last day of Christmas break I’ve spent a few hours trying to pick up Laravel again, from the beginning. I remember I blogged about Laravel back in 2016 (time flies!), and reading them again, I am surprised that what I thought back in 2016 still applies today. Today I am going to talk… Read More »

Laravel for Django developers, part 2

Global functions I am seeing a lot of framework specific global functions but don’t know where they come from, such as “view()”, “redirect()” etc etc. ORM Again, as mentioned in part 1, since we are creating migration files first, then we won’t be able to define FK relationships directly point to another model. According to… Read More »

Laravel for Django developers, part 1

Project Structure After setting up the quickstart project, I feel the project structure is quite different to Django. In Django a lot of code are organised in “app” domain, but it seems to me that multi-app is not something out-of-the-box in Laravel: https://laracasts.com/discuss/channels/general-discussion/laravel-5-multi-app-or-modular-applications Instead, it seems the apps in Django is more similar to the… Read More »

Laravel for Django Developers, prelude.

It appeared to me that “Laravel” is kind of similar to Django in the way of implementation concept, so this is my obvious choice. I did a google search “Laravel for Django developers” and got pretty much nothing useful, sure, who would have move back to PHP from Python? I think this only happens in… Read More »