Submitted by __null on Sat, 16/07/2005 - 02:23.
( categories: )

a draft for a new non-linear architecture for improving this site's navigation system. These are supposed to be the [main sections] (replacing those currently under the logo) and their sub-sections (with some descriptions)

  • [home] (home sweet home :)
  • [read]
    • Linux o_O? (what the heck is linux?, provides a visitor with a really minial introduction to GNU/Linux)
    • Articles
    • Wiki
    • Aggregator (currently News Feed)
    • Walkthroughs (of some open-source projects, will be porposed in a later post in detail)
  • [act]
    • Upcomming events
    • Calendar
    • Challenges (will be porposed "challanges" in detail, again, in a later post)
  • [see]
    • Event photos
    • Screenshots
    • Wallpapers
  • [discuss]
    • Forum
    • Polls
    • Chat (thin java-based IRC client configured to connect to #eglug on FreeNode)
  • [us?]
    • About us
    • Members
    • Blogs

Such nested menus DON'T HAVE TO BE implemented in javascript but i'm completely for doing it in javascript 'cause it would (a) save space on user's screen, (b) save bandwidth (required to fetch submenus, when implemented using only HTML+CSS) and user's time (instant interactivity), and (3) looks and feels nicer ;)

I'm so sorry for being away the last few days but I was REALLY busy last week due to a happy event in my family. My next three TODOs for this issue now are: (a) getting familiar with the durpal templating engine (b) getting familiar with web layouts based on pure CSS (I always ALWAYS used tables for my layouts :S) (c) reach a specification for site architecture (will be moved to Wiki)

Your Comments are Welcome (tm) ;)

-ahmed


jave is proprietary

Pronco's picture
Chat (thin java-based IRC client configured to connect to #eglug on FreeNode)

It had been discussed before


-I used to be indecisive .. but now I'm not so sure

So?

let's break the previous discussion into a few points (hope i didn't forget anything):

  • Java is slow: Not at all. Modern java JVMs uses JIT (just-in-time) bytecode-to-native execution engines. Bytecode is compiled to native code and *cached* for later use. So after a few moments of running a java app on JIT-enabled JVM, you'll be having a _native_ experience. You should know that the JVM itself needs to initialze before your java application. I know that (some poorly written and un-optimized) java apps are memory hogs, but that's a known issue with object-oriented lanuages in general, not to mention you're running on a JVM!!
  • Java (SUN's implementation) is not open source: this is a source of a really REALLY long debate, but SUN's java implementation is really open-source friendly and there's no point of not using it. Anyways, i'm currently subscribed to Apache Harmony Development mailing list that aims at an %100 open-source J2SE 5 implementation.
  • For a better user experience, the Chat subsection *ISN'T* supposed to immediately load the chat applet (being whatever name) but instead it would have one or more of the following:
    • simple steps (crash-course style) to connect to irc from whatever chat client
    • a pointer to an internal/external tutorial about IRC
    • a link that popup a resized window loading a pre-configured java-based IRC client.

there's an alternative, which mohammed sameer won't like so much or even at all ;), that's server-based IRC client web application but i don't recommend it at all (bandwidth, server load, lags, la la la).

-ahmed

not bad

Alaa's picture

I personally like the nested menus ideas but lets wait to see what others think.

nice coincidence, few days ago I found a nice clean implementation for nested menus navigation for drupal.

it is implemented the way I like without javascript and without extreme css hackery where clicking on top level takes you somewhere and opens second level.

I refuse the java program thing though, it doesn't hurt to learn to use an IRC client, we got a good article about it a clear link to it is all that we need.

cheers,
Alaa


http://www.manalaa.net "i`m feeling for the 2nd time like alice in wonderland reading el wafd"

why not?

if it's more efficient( just point and click to reach a certain secion, no roundtrips or intermediate pages) and used on all kinds of corporate and community sites, then why "without javascript"??

I'm looking to really expand our use of DHTML (javascript+html+css). From layered tooltips to auto-hide "user tools" panels replacing the top-right links). It's pretty well supported by ALL majore browsers.

-ahmed

IMO we should support all bro

Alaa's picture

IMO we should support all browsers not all major ones.

most corporate and community websites have HTML code that sucks and does not come close to validating, have adverts, flash and all kinds of annoying things I don't see how this is an argument for anything forget most sites and talk about eglug period.

IMO DHTML should be avoided until it is needed for something that can't be done otherwise (aka googlemaps and this kind of stuff that requires interactivity).

navigating a website does not require that much interactivity, it is an easy concept/paradigm that works.

you click on something you load another page, thats how the web works.

dunno what are layered tooltips, basic tooltips can be done without javascript.

it is already a pain to maintain a design that works on all browsers, maintaining javascript that works is another headache that I'd prefer to avoid.

cheers,
Alaa


http://www.manalaa.net "i`m feeling for the 2nd time like alice in wonderland reading el wafd"

have you played with drupal 4.7 at all?

Pronco's picture

All the menu stuff is done quite differently in 4.7

I'm just saying that if you put a lot of effort into a fancy menu system it may be a pain to upgrade to 4.7

What do you think ?


- I'm a code junkie security enthusiast

- http://pronco.manalaa.net

on the contrary, what is

Alaa's picture

on the contrary, what is being proposed is to use the system used in drupal 4.7

there is a hack to use a menu.module menu in place of the primary links menu, I use it in manalaa.net

in drupal 4.7 this is integrated inside the system and has proper administration interface, so the upgrade path will actually be very smooth, in 4.6 you put inline php code in your theme to include a specific menu, after an upgrade you remove that code, put the standard code for including primary links, then visit the primary links admin page and point at the correct menu, tadah.

cheers,
Alaa


http://www.manalaa.net "context is over-rated. who are you anyway?"

It sounds fine

Pronco's picture

Yeah, good to go then


- I'm a code junkie security enthusiast

- http://pronco.manalaa.net

Decision?

phaeronix's picture

What's the status on this? I have an idea of merging the side bar and the primary links, and fit things under this "non-linear" hiearchy.

We can have the icons in the top menu, I believe MSameer has a hack to do this.

Javascript or DHTML or drupal 4.7 , whichever way we do it can we please decide? Navigation right now is at least annoying.

-1 for Javascript or DHTML

MSameer's picture

-1 for Javascript or DHTML unless implemented in a clean way that will work even if the browser doesn't support javascript.


WWW: The place for organized randoms!
EGLUG Admin..

I repeat the smart thing

Alaa's picture

I repeat the smart thing to do is to use drupal menu.module there is a very well documented hack to do that in drupal 4.6 (I use it in manalaa.net), this hack was so popular it became part of 4.7, which means upgrading when 4.7 is released will be smooth.

go ahead, read the doc and implement the hack, replace primary links with a proper multilevel menu that has a useable administration interface (administer->menus), themeing it with icons can come later.

cheers,
Alaa


http://www.manalaa.net "context is over-rated. who are you anyway?"

OK will read that and see

phaeronix's picture

OK will read that and see if I can push it in.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.