Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi everyone,
 
I am making a web application.
My problem is that I want to make bookmarklet for my application.
So if after user login on my site if he bookmark something and on my site he comes and select his bookmark then all the information of bookmark page retrieved on my site on particular text area etc.
Its urgent please rpl fast...
Thanks in advance.
Posted 14-Jan-13 3:42am
Edited 14-Jan-13 3:49am
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

What have you tried so far? I suppose nothing. You are shooting question in unknown direction. Now, here is a startup tip:
1) Create a database table to store userid and bookmark id.
2) Create a function that will store the userid and bookmark id in this table.
3) Call this function on click of "Add to bookmark" button.
4) When user logs in and click "My Bookmarks" link get the list of his stored bookmarks and display on the page.
5) Also, create a master table of Bookmarks(this should be the first step). The primary key of this table will be the foreign key for the table in which you will store the userid and bookmark id. This table is to ensure that in future if you change the url of a page the bookmarks of a user does not end up in error 404.
 
Alternate solution is to store the pages's url in a table along with the userid. But again you will have to handle the situation like "What if the URL changes in the future"?
 
Try these things it is not that hard as it looks. Wherever you are stuck, post your question and we will be happy to help further. But do not expect to get the complete solution in hand.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 304
1 Sergey Alexandrovich Kryukov 255
2 Shweta N Mishra 216
3 Maciej Los 210
4 PIEBALDconsult 174
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,586
3 Manas Bhardwaj 4,946
4 Maciej Los 4,665


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 14 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100