Welcome Guest, Not a member yet? Register   Sign In
MVC Code Generator
#1

[eluser]carlwenrich[/eluser]
I have created an MVC Code Generator for CodeIgniter that generates a model, a controller, and a set of views from a database table. The code is free to anyone who asks via an email link on the site.

The documented code is here.
#2

[eluser]AlexMason[/eluser]
You made a CRUD?
#3

[eluser]carlwenrich[/eluser]
Yes, but one you don't have to write manually.
#4

[eluser]toro[/eluser]
I tested your code and got some error in the generated code.
most error are about missing variable and parameter name.
I.e i got function foo($) {..} with just $ sign and no parameter name.
OH And i used xampp with apache port using 555 port, not the default 80 port, may be that caused the problem?.
Thank You.
#5

[eluser]carlwenrich[/eluser]
I don't know whose code you tested, but I'm pretty sure it wasn't mine.
#6

[eluser]toro[/eluser]
I followed your tutorial step by step here : http://aswapathy.com/ci120422/
using default welcome.php controller as controller for your function, so to generate complete mvc code for user table in my db, i ran http://localhost:555/ci120422/welcome/gen/user
I modified config.php :
Code:
$config['base_url'] = 'http://'.$_SERVER['SERVER_NAME'].':555/'.SITE.'/';
anyway, after giving name to missing name-parameter, your generated crud mvc code work perfectly. Thanks
#7

[eluser]carlwenrich[/eluser]
I'm glad you got it to work, but you didn't have to go to all that trouble. The controller to be used is mvc so all you had to run was http://localhost/ci120422/mvc/gen/user.




Theme © iAndrew 2016 - Forum software by © MyBB