javascript - How to build a portal page with saveable state in jquery UI? -


I know that before asking a question, I should spend time researching and visiting, but I only get 2 weeks Create a site with portal style homepage (much like)

I am quite good with jQuery and I have played with jQuery UI Dragables in the last time, but I was wondering if there are any tutorials or best practice examples, creating a portal with many drop zones And the ability to remember "portlets" has been dragged into the Drosezone object of a state.

I should be able to save the state object using the $ Ajax () call back-end and when a user logs back to the site, then possibly the JSON state object from the back-end Organize the portlet by sending it again.

Was thinking about something like this in. The best method with which I could have come was that there were many 'zones' on the page where the item would be placed. In my case these were 3 columns. I gave each identifier and every time a block was moved to a different position to update the new state of that block.

For example, a sample database table:

  tbl.blocks: userid | Blocked | Column | Placement 1 | 2 | 1 | 3  

Where the column is a simple column identifier and placement is placement within that column. I have used a query on page load which loads the blocks in the order of placements, and then typed them in. Blocker refers to a table of blocks.

Here is a tutorial I found relevant:


Comments