Join Drew Falkman for an in-depth discussion in this video CakePHP advanced concepts and next steps, part of MVC Frameworks for Building PHP Web Applications (2015).
- Now that we've looked at the basic…structure of CakePHP, you may be…interested in learning more.…Let's talk about where you might go…to learn exactly what you'd need…to code more in CakePHP.…One thing we didn't discuss is the Data Layer,…the model aspect of a CakePHP MVC application.…Cake has its own built-in ORM.…You'll use this to access everything in the database.…You'll use this to tie-in a database to your application.…As it was with the routing and the controllers,…it follows a strict set of naming conventions.…
So, if things are named correctly,…they will actually find the correct…database table and be able to set things up…automatically for you behind the scenes.…One thing to note is that they've completely…revamped the Model layer in Cake 3.0.…It works basically the same, but it will…perform a little better and the code…will be slightly different, so if you're…interested in getting involved with 3.0,…I recommend looking at that first.…Because of CakePHP's Convention over Configuration paradigm,…they've set it up so you can create a lot of…
- 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.
1. About PHP Frameworks
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.