Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter Wizard CRUD generator for the Mac Updated
#1

(This post was last modified: 05-05-2021, 02:51 PM by gosocial2. Edit Reason: Changed the order of a paragraph which was out-of-context )

Some news which Mac users might like.

CodeIgniter Wizard, the CRUD code generator for Mac is now at version 1.4.1. 

The first time I had ever mentioned this application, it was already capable of detecting table prefixes and naming scaffolded models, entities and controllers accordingly, generating code for many-to-one relationships between entity models either automatically if foreign keys were defined in the underlying database, or manually by pointing and clicking a triplet of dropdown menus.

Since then some cool features have been added such as changing the order of fields/columns by drag-and-drop in the editor.

Unlike most code generators, CI Wizard does not rely on any custom heavy-weight library and crptic code that needs to be included in every created project.

In database-first development approach, you create MVC classes (including CodeIgniter entities) by reading existing database tables. What happens if you need to change the table columns, add or delete fields or change field types in MySQL, after you generated code? As of version 1.3.8, CodeIgniter Wizard can automatically detect those changes and adapt the previously generated code to the new table structure.

Several weeks ago, a new demonstration video was created demonstrating the creation of a CodeIgniter 4 web application reverse-engineering the famous Sakila sample movie database created by MySQL.dev:

[Video: https://www.youtube.com/watch?v=0CkBDMA5HYk&t=60s]

Opinions, comments and suggestions will be highly appreciated.

The application has its own dedicated website at https://ozar.net/products/codeigniterwizard

CodeIgniter Wizard (CRUD code generator for Mac) instantly scaffolds Bootstrap-based web applications with an administrative interface (admin templates include Bootstrap5)

Reply
#2

Congratulation! Must be a real time saver for people making a lot of web app for clients!
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply
#3

@gosocial2,

Nice!!
Reply
#4

(This post was last modified: 05-10-2021, 02:37 PM by gosocial2.)

Thanks for your nice comments, fellow CI developers!

@includebeer, I found your blog "très très interessant". Keep up the great work!

CodeIgniter Wizard (CRUD code generator for Mac) instantly scaffolds Bootstrap-based web applications with an administrative interface (admin templates include Bootstrap5)

Reply
#5

Merci beaucoup!  Cool
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply
#6

For anyone interested in CRUD generators, CodeIgniter Wizard is now at version 2.1.4 and battle-tested for many scenarios. Aside from the code generation for file uploads, automatic image cropping, centering and resizing, and bringing  MythAuth as the authentication/authorization mechanism, version 2.x moved form-validation logic to the models from controllers, and it supports i18n. 
When working with localization or internationalization of CodeIgniter projects, editing nested localization strings can become tedious, so CI Wizard makes it easy by allowing this in an outline-based view. You can export CI4 translation files in PHP as well as JSON format. Files in JSON format can also be re-imported to suit use cases where the developer is more comfortable manually editing or tweaking them. Furthermore, you do not have to start over translations for new projects; you can use your existing translations as a base.

Another outstanding (yet unknown) feature is that if you change anything in the database after producing code, the next time you open the same module (of the related database table), the Wizard recognizes the updated fields (or deleted ones -if any) automatically, allowing to re-iterate code generation in a compatible manner. Generated web apps do not need to break because of changes in the database table.
Although CI Wizard can be used to generate fully functional, full-stack web apps - which could be ideal for quick data visualization and form prototyping, some users find the opinionated approach not matching their code style (especially in Controllers), so it's also ideal for scraping parts of code (models, entities, translation files, easily swappable and loosely coupled form and list views ) which would be rather tedious to write from scratch or copy, paste, and adapt from existing, manually written codebase.

We have updated the sample web app generated with the latest stable version of CodeIgniter Wizard and pushed the latest version to its own GitHub Repo at https://github.com/ozarnet/ci4sampleapp

[Video: https://www.youtube.com/watch?v=zInvLFw_yFc]

CodeIgniter Wizard (CRUD code generator for Mac) instantly scaffolds Bootstrap-based web applications with an administrative interface (admin templates include Bootstrap5)

Reply




Theme © iAndrew 2016 - Forum software by © MyBB