Solved

Web application advice (PHP / SQL)

Posted on 2014-02-07
4
413 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 108

Accepted Solution

by:
Ray Paseur earned 500 total points
Comment Utility
0
 
LVL 33

Expert Comment

by:Slick812
Comment Utility
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
Comment Utility
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 108

Expert Comment

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

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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 …

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now