CodeIgniter Forums
CodeIgniter Wizard CRUD generator for the Mac Updated - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Addins (https://forum.codeigniter.com/forumdisplay.php?fid=34)
+--- Thread: CodeIgniter Wizard CRUD generator for the Mac Updated (/showthread.php?tid=78166)



CodeIgniter Wizard CRUD generator for the Mac Updated - gosocial2 - 05-05-2021

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


RE: CodeIgniter Wizard CRUD generator for the Mac Updated - includebeer - 05-09-2021

Congratulation! Must be a real time saver for people making a lot of web app for clients!


RE: CodeIgniter Wizard CRUD generator for the Mac Updated - php_rocs - 05-10-2021

@gosocial2,

Nice!!


RE: CodeIgniter Wizard CRUD generator for the Mac Updated - gosocial2 - 05-10-2021

Thanks for your nice comments, fellow CI developers!

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


RE: CodeIgniter Wizard CRUD generator for the Mac Updated - includebeer - 05-10-2021

Merci beaucoup!  Cool


RE: CodeIgniter Wizard CRUD generator for the Mac Updated - gosocial2 - 05-02-2023

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]