| By Si Chen | Article Rating: |
|
| July 31, 2012 06:00 AM EDT | Reads: |
2,869 |
If you’ve worked with Apache OFBiz or opentaps 1.x, you’ve probably had moments like this:
Q: What’s the difference between internal name and product name?
A: If your company wants to maintain an internal name for products that’s different than the standard product name, then you can put it in internalName. Otherwise you should keep them the same.
Welcome to software complexity.

When we design software, we’re making choices. Do we add features for people who need them? Or keep them out to make things simpler for people who don’t? As much as we’d like to keep things simple, we must create features for users, and as we add features, we add complexity.
When it comes to business software like Enterprise Resource Planning (ERP) or Customer Relationship Management (CRM), the complexity is in the database. To support all the features, we must create hundreds of tables with thousands of fields, even though not every user will need all the fields in all the tables. It is simply how relational databases work.
For opentaps Framework 2, though, we’ve been experimenting with the MongoDB NoSQL database as our back end. A NoSQL database is schema free. What this means is that we don’t have to define the fields of a table in advance. Instead, we use whatever fields we need as we need them. So, for the example above, if you need an internal name, then simply add them. If you don’t, then you don’t have to deal with it. It simply doesn’t exist.
Try the opentaps 2 Notes demo application, and you’ll see how it works:
When you add your notes, the arbitrary fields are stored when you added them, but if the note doesn’t have any fields, nothing is stored. Also note that the your fields are stored as they are entered, not using any of the hacks you may have used with relational databases:
For more technical details, see our wiki page on MongoDB and NoSQL.
We hope that a schema-free NoSQL database can reduce complexity by eliminating unnecessary data structures, keeping software elegant without sacrificing power. We’ll let you know as we do more with MongoDB.
Read the original blog entry...
Published July 31, 2012 Reads 2,869
Copyright © 2012 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Si Chen
Si Chen is the founder of Open Source Strategies, Inc. and Project Manager for opentaps Open Source ERP + CRM (www.opentaps.org).
- Cloud People: A Who's Who of Cloud Computing
- Cloud Expo New York Speaker Profile: Dave Linthicum – Cloud Technology Partners
- Cloud Expo New York: Cloud Is Changing the Economics of Business
- Best CIO Practices Shared from SHI’s Customers
- Cloud Expo New York: Deploying Hybrid Cloud for Performance and Uptime
- Cloud Expo New York: Delivering Digital Marketing on the Cloud
- Big Data Isn’t About the Database, It’s About the Application
- Cloud Expo New York: Rethink IT and Reinvent Business with IBM SmartCloud
- BEA Updates WebLogic SOA Portal for Web 2.0 Era
- The Accessibility of the Cloud
- Cloud Expo New York | Danger Ahead: Why File Sync Is NOT Endpoint Backup
- Cloud Expo NY: Best Practices for Delivering Oracle Database as a Service
- Cloud People: A Who's Who of Cloud Computing
- Cloud Expo New York: Best CIO Practices Shared from SHI’s Customers
- Cloud Expo New York Speaker Profile: Dave Linthicum – Cloud Technology Partners
- Cloud Expo New York: Cloud Is Changing the Economics of Business
- Cloud Expo New York: How to Use Google Apps Script
- Cloud Computing Bootcamp at Cloud Expo New York
- Rackspace Hosting Named “Platinum Plus Sponsor” of Cloud Expo New York
- Best CIO Practices Shared from SHI’s Customers
- Cloud Expo New York: Why Big Data Is Really About Small Data
- Cloud Expo New York: Deploying Hybrid Cloud for Performance and Uptime
- Small Cancers, Big Data, and a Life Examined
- Cloud Expo New York: Delivering Digital Marketing on the Cloud
- The i-Technology Right Stuff
- The Top 150 Players in Cloud Computing
- Who Are The All-Time Heroes of i-Technology?
- Where Are RIA Technologies Headed in 2008?
- Get the Message
- i-Technology Viewpoint: Is Web 2.0 the Global SOA?
- ESB Myth Busters: 10 Enterprise Service Bus Myths Debunked
- i-Technology Viewpoint: Thinking Outside the VC Box
- i-Technology Viewpoint: When to Leave Your First IT Job
- SOA Web Services Edge Conference Coverage on SYS-CON.TV
- SYS-CON.TV's "SOA Web Services" and "Enterprise Open Source" Programs To Air in December
- Five Reasons Why Web 2.0 Matters





























