Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying FuelPHP Application Development Blueprints
  • Table Of Contents Toc
  • Feedback & Rating feedback
FuelPHP Application Development Blueprints

FuelPHP Application Development Blueprints

By : Sebastien Drouyer
4.4 (5)
close
close
FuelPHP Application Development Blueprints

FuelPHP Application Development Blueprints

4.4 (5)
By: Sebastien Drouyer

Overview of this book

This book is for intermediary to seasoned web developers who want to learn how to use the FuelPHP framework and build complex projects using it. You should be familiar with PHP, HTML, CSS, and JavaScript, but no prior knowledge about MVC frameworks is required.
Table of Contents (8 chapters)
close
close
7
Index

Scaffolding the rest of our project


Now that the post administration panel is working and inside the blog module, it is time to generate our other models.

Scaffolding categories

Let's first take care of the Category model.

Generating files

This step is quite straightforward; as we did previously, we will use the oil command to generate our scaffold:

php oil generate admin/orm category name:string -s

Note that we added the -s (s for skip) parameter, as some files have already been generated previously and we don't want to replace them. This command line should output:

Creating migration: APPPATH/migrations/002_create_categories.php
Creating model: APPPATH/classes/model/category.php
Creating controller: APPPATH/classes/controller/admin/category.php
Creating view: APPPATH/views/admin/category/index.php
Creating view: APPPATH/views/admin/category/view.php
Creating view: APPPATH/views/admin/category/create.php
Creating view: APPPATH/views/admin/category/edit.php
Creating view: APPPATH/views/admin...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
FuelPHP Application Development Blueprints
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon