- Home
- Technical Library
- Boards
- Cookbook
- Code Share
- Blogs
- Partners
-
More
-
Services
- Training & Certification
- Support
-
Galleries
- Force.com Sites Gallery
- Chatter Challenge Entries
-
Other Web Sites
- Salesforce.com
- Database.com
- AppExchange
- CRM Community
-
Discussions
- Announcements
- General Development
- Schema Development
- New to Cloud Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules Discussion
- Security
- Mobile
- Force.com Sites
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby Development
- Adobe Flash Builder for Force.com
- Desktop Integration
- REST API Integration
- Streaming API
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- Excel Connector
- AJAX Toolkit & S-controls
- Force.com Builder & Native Apps
- AppExchange Directory & Packaging
- Force.com Labs Projects
- Open Source
- Siteforce
- Jobs Board - Administrators
- Jobs Board - Developers
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Apex Code Development
- :
- Best practice: reference to apex-lang? Maximum cod...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Best practice: reference to apex-lang? Maximum code size: 1MB
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-15-2010 02:55 AM
Hi,
I develop an application which already has quite a lot of code: Total Apex Size: 862800 of 1000000
The application I develop is intended to be sold to many customers - not to be installed only on one Organization.
Until now I included apex-lang in the code of my project.
What is the best practice to using apex-lang? Would you recommend to leave the apex-lang code inside of the project, or to remove it and reference to it? In the second case, would the apex-lang package be installed automatically every time a customer installs my application?
Thanks for your hints and suggestions
Re: Best practice: reference to apex-lang? Maximum code size: 1MB
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-23-2010 09:11 PM
You can create generic Apex classes for different functions and can call these classes in Apex Triggers or some other Apex classes. Try to use maximum SFDC built in functionality such as formula fields, workflows, validation rules etc.
The items in the manage package, including apex classes and triggers, installs in Client Org without any extra efforts. You don't need to worry about it.
Hope this helps.
Navatar Group
Re: Best practice: reference to apex-lang? Maximum code size: 1MB
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-07-2010 07:13 PM
I suggest copying and pasting methods and classes from apex lang into a Utils class as you need them.

