Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BreadCrumbs

 
Job Anandam
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am planning to implement Breadcrumbs facility in my site.How to proceed with it ? is there any good site,tutorial which would be of help ?
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BreadCrumb
 
Chandra Bhatt
Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Job,

Before you could proceed for implementing breadcrumb:

1- Did you finish with categorization or say segmentation of the all the
stuffs for your website.
2- Now you need to do the leveling, means what comes under level 1, level 2
and level 3 and so on.
Likewise you start from Home (Level 1), and go to Education (Level 2),
Technical Education (Level 3), Software (Level 4) for example.
3- Does each and individual page having its unique identity?
4- You structure these all information in the database including the
URL, unique identification number for generating page etc etc.

5- Finally comes implementation.
 
Job Anandam
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Chandra,

appreciate your help. could you be more specific on the following point

4- You structure these all information in the database including the
URL, unique identification number for generating page etc etc.

I am not planning for a Database based breadcrumb if that is what you have intended in your suggestion.
Simple means would be highly usefull to have it kickstarted and going !!so please help me likewise
 
Chandra Bhatt
Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Job Anandam:
Hi Chandra,

appreciate your help. could you be more specific on the following point

4- You structure these all information in the database including the
URL, unique identification number for generating page etc etc.

I am not planning for a Database based breadcrumb if that is what you have intended in your suggestion.
Simple means would be highly usefull to have it kickstarted and going !!so please help me likewise



I said, do you have unique identification number to individual kind of
pages you generate. (Not sure if you have static content or dynamic)

Using that unique identification number, we could search from the DB
following stuffs:
1- What category we are talking about
2- Under what category given category comes under
For example you are talking about Technical Education (my example)
and its identified as 50. So you can look into DB and find out its
parent Category Name and Education whose in turn parent is Home.
(top category).

You can put these all information in property file also, if DB way is
not of your interest.
 
Chandra Bhatt
Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can put breadcrumb information in property file as:

id = category_name, url
70 = software, /home/education/technical_education/software
Fire an id, get category_name and url.
Prepare the breadcrumb with acquired URL as:

Home > /home/education > /home/education > /home/education/technical_education
> /home/education/technical_education/software


Hope this helps you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic