Questions and answers
Until we set up the forum or bug tracker please post your bugs, questions, feature requests here.
The CRUD source code generator
iScaffold is an open source tool built on CodeIgniter that helps you create the boring parts of your application. You are able to:
Until we set up the forum or bug tracker please post your bugs, questions, feature requests here.
In this tutorial I’ll show you how to install, what to watch to start using iScaffold 2.0. This article assumes that you have basic understanding of how CodeIgniter works.
First, you need to know what is iScaffold and what it isn’t, so you wouldn’t expect things that this project isn’t mend to cover.
Use it to:
To generate a CRUD application that efficiently provides an interface for managing you database.
Create data models for your applications data manipulation.
Manage automated coding tasks.
The first step is that you download the package from our downloads page.
You will need a different place to run the generated source code so download a copy of CodeIgniter (1.7.2 at this time) or create an environment that can handle your new application.
This is the most important step, not just in iScaffold, but in many fileds of web development. iScaffold works by analyzing your database schema and creating the application based on that. Let’s see it:
Designing a good database is a challenging task and with iScaffold you have the ability to spend more time on it.
I think this step will be discussed in much more details in the future, but these simple guidelines should be enough to move along.
Point your browser to the iScaffold installation and click on “Configure table data”. If your database didn’t have an “sf_config” table, than the configurator creates it for you, to store the settings you make for a database field.
The configurator also populates the config table with the fields of your database schema.
Open the grey lines and make your settings. The description line is showed as a tooltip when the user focuses on a certain input filed of the generated form.
Notes:
Note that you can rearrange the order of the fields, by dragging the cross icon on the top left of each field block.
After you finished your settings, push the “Save schema config” button on the bottom of the page.
After the configurator finished saving your data, you will be redirected back to the iScaffold main page, where your only task is to press the Generate button :)
The last point is also very important, because this is where the incompleteness of your application emerges. Until you start modifying the generated code, you are in a very convenient position: you can regenerate the code as many time as you wish, but after you made any changes it can be a bit more difficult to update the the changes, so more brain than brawn.
Point your browser to one of your controllers that iScaffold generated.
Ask the following questions to yourself question before you start the modifications:
Well, this is it. It should give you an overview of what iScaffold do for you, but this is far not everything. You can modify templates on your needs: adding, removing, altering features. You will find the template variables reference in the documentation section .
Hello, this is the iScaffold project site and this is my first status update. You will find hopefully many useful contents, information on how to use iScaffold.