Results 1 to 5 of 5

Thread: How to create module WITHOUT STUDIO?

  1. #1
    shrisamsalunke is offline Sugar Community Member
    Join Date
    Dec 2011
    Posts
    46

    Default How to create module WITHOUT STUDIO?

    hello everyone,
    i create new module using studio but now i want to create new module by code (without studio) so anyone help me????

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: How to create module WITHOUT STUDIO?

    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.

  3. #3
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: How to create module WITHOUT STUDIO?

    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

  4. #4
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: How to create module WITHOUT STUDIO?

    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

  5. #5
    christianknoll's Avatar
    christianknoll is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Vienna
    Posts
    939

    Default Re: How to create module WITHOUT STUDIO?

    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.

    Quote Originally Posted by shrisamsalunke View Post
    hello everyone,
    i create new module using studio but now i want to create new module by code (without studio) so anyone help me????

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Why studio is create empty row ?
    By kamalesh2008 in forum Developer Help
    Replies: 1
    Last Post: 2010-07-13, 10:45 AM
  2. Replies: 3
    Last Post: 2009-12-17, 04:50 PM
  3. Using Studio to create custom module
    By EtherSpeak in forum Help
    Replies: 0
    Last Post: 2009-07-30, 06:39 PM
  4. Create a workflow module with Studio
    By kathiste in forum General Discussion
    Replies: 0
    Last Post: 2008-01-29, 08:16 PM
  5. Replies: 0
    Last Post: 2007-07-03, 10:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •