You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Diethelm Guallar, Gonzalo" <Go...@sonda.com> on 2001/04/19 18:49:22 UTC

Difference between navigation and screen

I have been using VelocityOnlyLayout for so long that I don't really
know exactly how page, screen, layout and navigation objects are
intended to work...  At the risk of incurring the Gods' (and Jon's)
wrath, what exactly is the point of a navigation?  I mean, I know
layout is used to separate the logical page into chunks that can be
managed separately, but would it be possible to just put screens into
each of these chunks?  For example, instead of using top_navigation,
screen and bottom_navigation, could I use top_screeen, data_screen and
bottom_screen?  Is it because there is one fixed $screen_placeholder?

I'm sorry if this is obvious; in a way, I'm spoiled because with
VelocityOnlyLayout I have full control of the whole page.  In case you
wonder why I'm asking these questions, the reason is because I'm
starting to build a new application that will not use frames (hence
VelocityOnlyLayout is not a must), and I want to examine the
alternatives to build it.

Thanks,


-- 
Gonzalo A. Diethelm
gonzalo.diethelm@sonda.com

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: Difference between navigation and screen

Posted by Rafal Krzewski <Ra...@e-point.pl>.
"Diethelm Guallar, Gonzalo" wrote:
 
> layout is used to separate the logical page into chunks that can be
> managed separately, but would it be possible to just put screens into
> each of these chunks?  For example, instead of using top_navigation,
> screen and bottom_navigation, could I use top_screeen, data_screen and
> bottom_screen?  Is it because there is one fixed $screen_placeholder?

This is really simple:

* screen is something the user requests (users are single-threaded, they
  request one thing at a time, that's why there is only one screen)
* a layout is a way of decorating the screen with extra visual elemetnts
  (the screen can decide what layout should be used)
* a navigation is part of the layout that you can reuse (put in multiple 
  layouts)

Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:Rafal.Krzewski@e-point.pl
+48 22 8534830 http://e-point.pl

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org