Solved

Web application advice (PHP / SQL)

Posted on 2014-02-07
4
422 Views
Last Modified: 2014-02-10
Hello,

I'm looking to create a web based application that will give a user a list of available items (picked up from SQL) - but i'd like to try and improve on using html forms to pass data around.

My goal is to have a list of available items on the left, and a workspace on the right - then be able to drag the items (either in text form, or boxes) to the otherside - when the user drags an item across, a few sql queries need to be processed (editing the data to show its been taken)

Can anyone point me in the right direction - just need some info on the best way to create that - i'm guessing AJAX - but is there anything else that will get me a bit further than that (ideally drag and drop / html5) - sample code / examples / tutorials would be good :)

Thanks
0
Comment
Question by:Bergstr
  • 2
4 Comments
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 39842148
0
 
LVL 34

Expert Comment

by:Slick812
ID: 39842763
greetings  Bergstr, ,  You outline a DHTML Graphical User Interface, that does a user Drag-and-Drop to "Update" a receiver-Box (<div>) on the right. This alone (NO SERVER AJAX) will require at least mid level Javascript knowledge and some trial and error WORK, even if you use a javascript framework like Jquery or MooTools.  Your best bet is to work on this one step at a time in Javascript, to first perfect your user Drag-and-Drop in javascript, and then move on to your other javascript functional aspects like AJAX.

This in total, with the Server Mysql and Ajax is more that should be asked in a single question here.
0
 

Author Comment

by:Bergstr
ID: 39846738
Thanks very much for both your comments :)

The jquery looks like what I'm after! -  I've also come across this guide using DHTML / AJAX:
http://www.dhtmlgoodies.com/scripts/drag-drop-nodes/drag-drop-nodes-demo2.html

I'll look into both of these and see what I end up with, pretty sure with this info I can produce what I need :)

Thanks again.
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 39846973
Thanks for using EE and thanks for the points.  And best of luck with your project, ~Ray
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question