1
just4fun
XGen - Xoops Module Generator is here
  • 2007/2/9 1:45

  • just4fun

  • Just popping in

  • Posts: 55

  • Since: 2003/7/28


Module generator for Xoops, coz I know how boring it'll be to do the same coding again and again. Its not like any other generators try it you'll know. Included a sample xml file with all functionality to generate a module.

Features

* CRUD functionality for all tables
* MySQL sql file generation
* Admin functionality with image type field handling (including file upload)
* Module config file and xoops_version.php will be generated.
* Models will be created for each table to simplyfy C[reate] R[etrieve] U[pdate] D[elete]
* Data Grid like functionality to browse records. Sorry no pagenation yet.


Requirements

* Java 1.5
* Right now Windows Only

License

* Feel free to use for any purpose
* No copyright message in the generated code.
* XoopsGrid is based on baaGrid by Barry Andrew (http://members.aol.com/barryaandrew/baaLic.html)


Instructions to Run and Install

* Download XGen
* Unzip to XGen directory
* Thats it you are all set create an xml file for your module and set values as per your needs


Command Line

* Assuming you unzipped XGen in C:\XGen
* C:\XGen> XGen c:\XGen\recipes.xml

You'll see log messages and lots of information just ignore and go to the directory you specified in xml

Voila your admin functionality for the module is ready after intalling your generated module as any other module.

[X]Oops here is the download link XGen - XOOPS Module Generator

Leave me your comments.

Thanks
Just4Fun
In theory there is no difference between theory and practice but in practice it does...

2
hervet
Re: XGen - Xoops Module Generator is here
  • 2007/2/9 7:05

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Thank you

3
ratdeau
Re: XGen - Xoops Module Generator is here
  • 2007/2/23 12:49

  • ratdeau

  • Just popping in

  • Posts: 2

  • Since: 2007/2/23


This tool is what I need but I've a java.lang.NullPointerException

What can I do?

Creating DataModel
         preparing
...CategorieModel.php
         preparing
...CompetitionModel.php
         preparing
...EquipesModel.php
         preparing
...CalendrierModel.php
Error 
java.lang.NullPointerException
java
.lang.NullPointerException
        at com
.get.xgen.helpers.DAOHelper.createGetMethod(DAOHelper.java:67)
        
at com.get.xgen.helpers.DAOHelper.createRelationsMethods(DAOHelper.java:
60)
        
at com.get.xgen.helpers.DAOHelper.createDAO(DAOHelper.java:45)
        
at com.get.xgen.XGen.createClassFiles(XGen.java:94)
        
at com.get.xgen.XBootStrap.main(XBootStrap.java:27)

Login

Who's Online

88 user(s) are online (69 user(s) are browsing Support Forums)


Members: 0


Guests: 88


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits