Wednesday, July 17, 2013

Re: a bit confused about projects/apps

Unless you really want to build it all from scratch, you might want to look at a CMS framework such as Mezzanine (http://mezzanine.jupo.org), DjangoCMS (https://www.django-cms.org), FeinCMS.

Think of a project as a Django web server configuration. In the end, manage.py and settings.py are just Python, so you can build hierarchy if you want and use introspection to import file/directory settings hierarchy.

However, it sounds like you have a collection of very interrelated apps, so it probably makes sense to keep it in a single project for your site. We have a base site and several rebranded copies, so we have multiple project directories in our code tree, but each server is just one project. Don't forget, there are global things like user authentication you don't want to have a user have to login separately to go to blog.example.com from www.example.com.

Brian


On Jul 17, 2013, at 8:30 AM, Alex Hall <mehgcap@gmail.com> wrote:

> Hi all,
> I currently have a boring, small, plain website to give the essential information about my business. I hope to add a projects section, to host programming projects I have done, a section for hosting articles/tutorials/recordings, and, eventually, an ecommerce system so i can charge for some of it. In the future, I also hope to have a remote instruction system using some sort of VOIP (I am a technology instructor), which will also be paid.
>
> So, what might my setup look like? Would my entire site be one project, with apps for programming projects, writings/recordings, and ecommerce? Should I use different projects? If I create a project and then later decide I want to move it up a level, to the main website directory, can I do that, or are there too many import statements I'd have to change? I know an app is portable and pluggable, but is a project? Are you only ever supposed to have a single project for a website? What about subdomains - should one project run everything, or should each subdomain have its own project, even if you have to copy apps? Sorry for all the questions, I just want to be sure I do it right before I actually begin developing anything. Thanks.
>
>
> Have a great day,
> Alex (msg sent from Mac Mini)
> mehgcap@gmail.com
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate