The point of decoupling the apps is so that you can share them with
others without having to give them all of your site, and it make it
ALOT easier to maintain since if you want to make changes to the way
the menu works you dont have to read though hundred of lines of code
dealing with the rest
Thank you for all your elaborated answers
However I still don't see the point to have decouped apps in my
project. Web page mainly is a program for serving some text or media
or for saving some user data under the hood. Having an app for
particular business logic AND another pool of views, tags
bruno desthuilliers wrote:
>
> On 3 nov, 03:56, Steve Holden <[EMAIL PROTECTED]> wrote:
> (snip)
>
>> You might also want to look into ContextManager objects, which are a way
>> of providing information to all pages.
>>
>
> I assume you meant 'Context processors' ?-)
>
>
Are you some
On 3 nov, 03:56, Steve Holden <[EMAIL PROTECTED]> wrote:
(snip)
> You might also want to look into ContextManager objects, which are a way
> of providing information to all pages.
I assume you meant 'Context processors' ?-)
--~--~-~--~~~---~--~~
You received
On Mon, Nov 3, 2008 at 2:48 AM, ilmarik <[EMAIL PROTECTED]> wrote:
> I've got controllers made as logical apps (controllers named
> particularly) and whenever I need f.e. menu inside base layout, I
> simply put {#menus/show/1} which means - return here compiled
> controllers(menus) method(show)
Am 03.11.2008 um 02:33 schrieb ilmarik:
> It's just simple amazing that I waste another night to figure out how
> to glue two and more apps together inside one template.
> I read about custom tags and I thing it isn't (or at least it
> shouldn't be) the way of doing it. too much fuss imho.
>
>
> A slightly fuller description of your intended page structure might let
> people provide more accurate answers to your needs.
Let http://pow.dzierzoniow.pl be my fuller explanation. This page is
my old project written in php on Kohana framework.
There is one 'app' used to generate both menus
Yes exactly.
http://dpaste.com/hold/88396/ is the inclusion tag that I use for my
navigation menu @ http://www.gustafsonandassociates.com/
Dj Gilcrease
OpenRPG Developer
~~http://www.openrpg.com
On Sun, Nov 2, 2008 at 6:57 PM, ilmarik <[EMAIL PROTECTED]> wrote:
>
> are you saing this:
>
ilmarik wrote:
> It's just simple amazing that I waste another night to figure out how
> to glue two and more apps together inside one template.
> I read about custom tags and I thing it isn't (or at least it
> shouldn't be) the way of doing it. too much fuss imho.
>
> Example:
> I have home
are you saing this:
http://docs.djangoproject.com/en/dev/howto/custom-template-tags/#inclusion-tags
is an explanation to my question ?
If yes, many thanks to you and... silly me.
if not, could you point me some solution explained in detail?
--~--~-~--~~~---~--~~
Once you get each working individually, I would make inclusion tags
for the items that will be on every page (Menu, NewsList, Footer,
Survey). The contents in the middle is what is shown by a view (At
least in my setup)
Dj Gilcrease
OpenRPG Developer
~~http://www.openrpg.com
It's just simple amazing that I waste another night to figure out how
to glue two and more apps together inside one template.
I read about custom tags and I thing it isn't (or at least it
shouldn't be) the way of doing it. too much fuss imho.
Example:
I have home page with menu on one side, news
12 matches
Mail list logo