Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Best Practices to Make your Apps Portable
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sebastian Macias  
View profile  
 More options Jul 24 2007, 7:41 pm
From: Sebastian Macias <sebast...@sebastianmacias.com>
Date: Tue, 24 Jul 2007 23:41:47 -0000
Local: Tues, Jul 24 2007 7:41 pm
Subject: Best Practices to Make your Apps Portable
I posted this on django-users so I won't post the same here but I
thought the actual framework developers might have excellent feedback
on this.

This is just an invitation to participate in django-users thread. I'm
sure this will be very useful to many people moving to django from
ruby on rails and php mvc frameworks.

The thread is here:

http://groups.google.com/group/django-users/browse_thread/thread/ab9e...

Thanks,

Sebastian Macias
digital-telepathy inc.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon G.  
View profile  
 More options Jul 24 2007, 8:13 pm
From: "Simon G." <d...@simon.net.nz>
Date: Tue, 24 Jul 2007 17:13:55 -0700
Local: Tues, Jul 24 2007 8:13 pm
Subject: Re: Best Practices to Make your Apps Portable
There is a wiki page on this sort of thing:
http://code.djangoproject.com/wiki/DosAndDontsForApplicationWriters

...but it hasn't been updated in a while. If anyone comes up with
useful things, could you (or them) update that page?

Thanks,
Simon

On Jul 25, 11:41 am, Sebastian Macias <sebast...@sebastianmacias.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sebastian Macias  
View profile  
 More options Jul 25 2007, 2:19 pm
From: Sebastian Macias <sebast...@sebastianmacias.com>
Date: Wed, 25 Jul 2007 18:19:50 -0000
Local: Wed, Jul 25 2007 2:19 pm
Subject: Re: Best Practices to Make your Apps Portable
I just came up with a setup that works perfectly for me as it allows
me to  work on project specific apps as well as on portable apps
efficiently.

The setup is here:

http://groups.google.com/group/django-users/browse_thread/thread/ab9e...

I want to add it to the wiki but I'm not sure if the page you posted
is the most appropriated.

Any suggestions?

Sebastian Macias

On Jul 24, 5:13 pm, "Simon G." <d...@simon.net.nz> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sebastian Macias  
View profile  
 More options Jul 27 2007, 1:47 pm
From: Sebastian Macias <sebast...@sebastianmacias.com>
Date: Fri, 27 Jul 2007 17:47:38 -0000
Local: Fri, Jul 27 2007 1:47 pm
Subject: Re: Best Practices to Make your Apps Portable
I just added it to the wiki:

http://code.djangoproject.com/wiki/BestPracticesToWorkWith3rdPartyApp...

It's also available via the resources page.

http://code.djangoproject.com/wiki/DjangoResources

Best,

Sebastian Macias

On Jul 25, 11:19 am, Sebastian Macias <sebast...@sebastianmacias.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gary Wilson  
View profile  
 More options Jul 27 2007, 4:39 pm
From: Gary Wilson <gary.wil...@gmail.com>
Date: Fri, 27 Jul 2007 20:39:12 -0000
Local: Fri, Jul 27 2007 4:39 pm
Subject: Re: Best Practices to Make your Apps Portable
On Jul 27, 12:47 pm, Sebastian Macias <sebast...@sebastianmacias.com>
wrote:

I don't think you meant to have the exact same directory structure for
a django project as you did for 3rd party apps, did you?

Gary


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sebastian Macias  
View profile  
 More options Jul 28 2007, 2:35 am
From: Sebastian Macias <sebast...@sebastianmacias.com>
Date: Sat, 28 Jul 2007 06:35:09 -0000
Local: Sat, Jul 28 2007 2:35 am
Subject: Re: Best Practices to Make your Apps Portable
That was a typo I actually just fixed.

http://code.djangoproject.com/wiki/BestPracticesToWorkWith3rdPartyApp...

Thanks for letting me know,

Sebastian

On Jul 27, 1:39 pm, Gary Wilson <gary.wil...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tai Lee  
View profile  
 More options Jul 28 2007, 5:22 am
From: Tai Lee <mrmachin...@gmail.com>
Date: Sat, 28 Jul 2007 02:22:30 -0700
Local: Sat, Jul 28 2007 5:22 am
Subject: Re: Best Practices to Make your Apps Portable
Why do you need a shared project to house generic apps? Why not just
put them at dango_root (or anywhere on your python path), and install
them in your django projects (sites)?

django_root/
    genericapp1/
    genericapp2/
    mysite/
        __init__.py
        apps/
            __init__.py
            siteapp1/
            siteapp2/
        manage.py
        settings.py
        urls.py

I also put default templates with the apps, and override them with
project templates if need be.

If you work with several django sites, it may be desirable to have
each use their own private copies of django and generic apps, so that
individual sites can be upgraded without worrying about backwards
incompatible changes in django or generic apps. I do this with
Subversion externals.

trunk/
    django/
    genericapp1/
    genericapp2/
    mysite/
        django/ (X)
        genericapp1/ (X)
        genericapp2/ (X)
        mysite/
            __init__.py
            apps/
                __init__.py
                siteapp1/
                siteapp2/
            manage.py
            settings.py
            urls.py

All you need to do is set the python path to root/mysite/ for your dev/
production server or interactive shell. I do that with shell aliases/
scripts. Then you can still work on your generic apps within mysite,
and commit those changes directly back to the trunk version to be
utilised by other projects that track trunk, or new projects.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon G.  
View profile  
 More options Jul 28 2007, 5:55 am
From: "Simon G." <d...@simon.net.nz>
Date: Sat, 28 Jul 2007 02:55:27 -0700
Local: Sat, Jul 28 2007 5:55 am
Subject: Re: Best Practices to Make your Apps Portable
Excellent, thanks!

--Simon

On Jul 28, 5:47 am, Sebastian Macias <sebast...@sebastianmacias.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »