Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Problem with spliting project into meaningfull apps. [RSS Feed]

#1 Dec. 27, 2010 15:41:02

M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Problem with spliting project into meaningfull apps.


Hey, I have problem with dividing my project into apps that have
point, I have database that consist of :
- news
- reviews
- predictions
- articles
- download
- games
- gallery
- categories
- users
- comments
- producer

I’ve grouped them like that:
1. Content Management app
2. Comments Management app
3. Games Management
4. Users Management

I want to split my project in logical way, that I could reuse my apps
later on.

News, reviews, articles, predictions are almost the same, so they are
inheriting from news all fields and if needed they add own fields.

I have problem with Content management, I don’t know I should use 1
big model or divide it into few smaller apps inside app?

Content Management app does only render and save database, so
functions inside view are redundant ;/ ( read from database, save to
database), only thing that is different is a model name. Is there a
way to simplify that by using one function?

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » Problem with spliting project into meaningfull apps. [RSS Feed]

Board footer

Moderator control

Enjoy the 17th of August
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support