Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Web application advice (PHP / SQL)

Posted on 2014-02-07
4
Medium Priority
?
430 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 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 111

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

610 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