Join Drew Falkman for an in-depth discussion in this video Comparing frameworks and reviewing next steps, part of MVC Frameworks for Building PHP Web Applications (2015).
- The last item to discuss is how to choose…which framework is right for you and your project.…Now that we've looked at all the frameworks,…we have a better idea of what each one offers…and that can possibly help in our selection.…What I want to do in this unit…is look at actual selection criteria…for choosing a framework,…and then discussing the frameworks in that context.…What I'm not going to do is lay out tables…to compare what ORM is being used…and what version of PHP is supported…and all that kind of stuff.…You can easily that elsewhere online on Wikipedia…and truthfully, we've stared at all those charts before…and left feeling like we had no idea…how these frameworks actually compare.…
So let's look at the criteria.…The first thing to look at is coding style and preference.…A lot of this is a personal preference.…Do you prefer creating your code at the command line?…Do you like the Ruby on Rails style of code creation?…Or do you prefer J2EE style of objects and patterns…and class creation?…What is your team size?…
- Why use a framework?
- Introducing MVC-framework concepts
- Examining each framework's components
- Setting up the software
- Walking through sample apps built in each framework
- Comparing frameworks
Skill Level Intermediate
Q: When setting up Composer on my Windows machine, I'm asked to specify where php.exe is located. Where can I find it?
<div>A: Depending on how you installed PHP, the location can vary. If you're running WAMP on your Windows machine, the executable is located at: </div><div> </div><div><span style="font-family: Courier;">C:\wamp\bin\php\php5.5.12\php.exe </span></div><div>(This path will change slightly if you're running a different version number of PHP.)</div><div> </div><div>If you're running XAMPP on your Windows machine, the executable is located at:</div><div><span style="font-family: Courier;">C:\xampp\php\php.exe</span></div><div> </div>
Q: Why doesn't my folder structure in Laravel match what's on screen?
A: Version 5 of Laravel was released after the recording of this course. The core information in this course is still valid, but the Laravel's main files have been reorganized. For more details on how this reorganization has changed the structure of Laravel files, please see <a href="https://mattstauffer.co/blog/laravel-5.0-directory-structure-and-namespace" target="_blank" rel="nofollow">https://mattstauffer.co/<wbr>blog/laravel-5.0-directory-<wbr>structure-and-namespace</a>.
Q: Why isn't mcrypt prepped for PHP when I run the phpize command?
A: If you're having trouble setting up mcrypt, you may need to change the directory from which you run the phpize command. You'll want to navigate to the /ext/mcrypt/ folder within the folder for the version of PHP that you're running.