We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Some questions Re: Expression Engine

Development and Programming

substance's avatar
substance
2 posts
12 years ago
substance's avatar substance

Hi!

Really enjoying learning EE and can definitely see the advantages of using such a powerful CMS.

I do have a couple of questions that I am hoping you guys will be able to help me with.

  1. I am looking to setup a Products channel where each product has a set of retailers assigned. These retailers will have unique urls for each product which will be entered in the EE interface for Data admin users. Can this be achieved through EE or do I need a third party add on?

  2. I have static modules (or parts of my page) where I would like to abstract my data from the template manager. Do I need to setup a channel for each of these modules or is there an easier way to achieve.

Please go easy on me as I am only just starting out learning this 😊

Neil

       
wildrock's avatar
wildrock
262 posts
12 years ago
wildrock's avatar wildrock

You don’t need to assign channels on a per-module basis. Modules can access data from any channel. What it sounds like you are trying to do is to setup a relationship between products and retailers, one to many. You can do this with the Relationship module (built in) or with Playa (third party).

       
petehotchkiss's avatar
petehotchkiss
1 posts
12 years ago
petehotchkiss's avatar petehotchkiss

Thank you for your reply.

I have already now built the relationship code for product to retailers.

In terms of organisation I think I will set up a channel for each separate page module so users of the admin system will be able to find the content quickly and easily. Do you think this will incur a performance hit?

Thanks again for your help on this.

       
wildrock's avatar
wildrock
262 posts
12 years ago
wildrock's avatar wildrock

Performance hit? Depends on how many channels you setup, and how well you optimize your tags and queries.

There may be better ways to organize your content that is more efficient, yet provides for user ease. You haven’t really given enough detail about how your site is going to function to give you more advice. But for instance, instead of assigning a new channel to each product page (I assume that is what you mean by “each separate page module”), you just use one channel, and assign a category. Then each user can just search for content on a channel by category.

While EE doesn’t require that its developers ascribe to good sql database theory, I’ve always found that at least some cursory database normalization can greatly simplify the solution for the developer and user. Here’s a quick link to some info about normalization. There’s a ton of other stuff out there, and whole books have been written on the subject:

http://databases.about.com/od/specificproducts/a/normalization.htm

Best to think through the database/channel/category structure before devoting a lot of time to coding. Locking yourself into a path (overuse of channels) that may cause great headaches down the road is definitely something to be avoided.

hope this helps

-jim

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.