hello everyone,
i create new module using studio but now i want to create new module by code (without studio) so anyone help me????
hello everyone,
i create new module using studio but now i want to create new module by code (without studio) so anyone help me????
There is no easy way to accomplish such task.
If you really want to do, I don't know why, you need to copy some module and rename scripts and update class name, bean name and table name inside all scripts of its.
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
I also like to make all developments on sugar by coding without module builder or studio.
But to create a new module from a scratch is really complicated.
I recommed you to create a new module using module builder, and then after perform any customization already export this to an instalation package.
Then you can free code your new module.
The idea is that when using module builder it already creates all sugar needed files and directries needed to this module be installed and work properly on sugar.
Later you have to load this module again from module loader.
Rafael Queiroz Gonçalves
Advanced OMG UML Certified Professional
Sun Certified Enterprise Architect for the Java Platform
Sun Certified Programmer for the Java 2 Platform
IBM Certified Advanced Application Developer - Lotus Notes and Domino
IBM Certified Application Developer - IBM WebSphere Portlet Factory
Computer Science Mastering / UFSC - PPGCC
I agree with Rafael. In most cases this solution saves a lot of time compared with pure coding alternative because there is a working module (including database tables) that can be improved step by step.
Stefan Ulrich Sauer
System Analyst
Devoteam Danet GmbH
Gutenbergstraße 10
D-64331 Weiterstadt
Germany
email: Stefan-Ulrich.Sauer@devoteam.com
http://www.devoteam.de
Basically this is not so complicated. You will need the bean, the vardefs, the metadata files, a language file, and an include in custom/Extension/Application/Ext/inlcude as well as in custom/Extension/application/Ext/language
Contrary to the other posters I prefer this method and we have banned Studio completely. One of our developers even has written a simple generator script for these files so creating a new modules strucutre is a task of literally only seconds.
In additional truly believe that it is beneficial to understand the structure because then you will understand the basic concepts of Sugar and can build proper well working applications for customers.
christian.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks