dcsimg
www.webdeveloper.com
Results 1 to 7 of 7

Thread: Watch out, this book is reading you!

  1. #1
    Join Date
    Aug 2003
    Location
    Amsterdam (The Netherlands)
    Posts
    52

    Watch out, this book is reading you!

    Hi, there.

    Following my request, several members of the JavaScript group have contributed generously to the creation of a really useful (for me, that is...) script that enables me to write highly dynamic pages for my PANTACYCLOPEDIA (short: P), ook book-like structure I am busy preparing - see thread 'A real challenge for JavaScript magicians' in the JS group
    So I decided to make another request. Unfortunately, this was less successful, possibly because the thing I have in mind simply cannot bedone in JavaScript. So I thought: why deny the members of the other groups this - think - very interesting challenge?

    This is my request: for P, I would like to have a mechanism that
    - keeps track of exactly which pages my reader has already read and which (s)he hasn't seen yet, and
    - uses this 'reading history' to either deny or permit this particular reader access to other parts of the book.
    - Of course, this 'intelligent' selector should work in every platform, if possible.

    See what I mean? I want P to be 'a book with a memory' - the reader reads the book, the book reads the reader (that's about as interactive as one can get!).
    The reason for this wish probably is quite obvious to you smart guys (and gals) out there: certain chapters in P are rather difficult to grasp without some prior knowledge that is to be found in other chapters. In other words: in my ideal P, only by reading chapter A, one can earn the right to delve into chapter B - not unlike to what happens in some computer games such as MYST.
    I am a 100% programming analphabetic (well, almost), but I assume that such a system could work on the basis of putting the value of some variables into cookies - of course, the book will have to ask its reader politely for his or her permission to use cookies. Other pages, menu pages for instance, could then use these values to decide which navigation buttons are being shown when the reader opens the menu page concerned, and which aren't, thereby guiding the reader gently in the optimal direction.

    Any suggestions?

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,136
    you need server side programming with sessions enabled and database of some kind involved.This type of persistenace can not be achieved using any other means( cookies on client side can be disabled)
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

  3. #3
    Join Date
    Aug 2003
    Location
    Amsterdam (The Netherlands)
    Posts
    52
    Sounds rather complicated for a non-programmer like me, Khalid... Thanks, anyway. Any advice as to how I could get this done? (Hire a real programmer? That's out of the question: I'm just a soloist, with no sponsor or anything to back me up.)(...yet.)(Interested parties are invited to get in touch!)

  4. #4
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,136
    sorry buddy, I am afraid you will need some prgrammer for this to be done...
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

  5. #5
    Join Date
    Aug 2003
    Posts
    21
    Jan van Erp if you want a cheap coder try this place I requested some work here the prices varied from $800 down to $35 for the same job ended up being done by some russian fer the $35 and the work was great. always worth atry you dont have to take any offers.


    http://www.rentacoder.com/

  6. #6
    Join Date
    Aug 2003
    Location
    Amsterdam (The Netherlands)
    Posts
    52
    Thanks, Slim! Good suggestion.

  7. #7
    Join Date
    Sep 2003
    Location
    Australia
    Posts
    37
    How about setting some hidden values in the page itself???i mean <input type="hidden"> this is a good way to pass values around between pages, when u dont want to use cookies and dont want to get into the Session variables fundas...

    with every page you can set a hidden value..and it gets submitted everytime the page data is submitted without the reader/user ever knowing

    hope this helps...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles