[quote="droptank21":120eb3ce]Those are just a few examples. What I am suggesting is an IDE implemetation to Construct 2 to quickly and easily add mysql variables and php script. Just as it is easy to add a sprite and set js script events for it, Constrcut should just as easily set mysql variables and set php scripts to manipulate and work with them. (IMO
@droptank21: I'm not sure such an implementation would be easily manageable construct-style.
For a topic as delicate as mysql access (and as you seem to be pretty sensitive to hacking issues) I'm not sure such an "easy mysql object" would fit. To modify stuff on a mysql base requires users credentials for sure and must be dealt with carefuly.
As a developper I prefer to handle myself this server side, and not leave it to an automated construct-like object.
Anyway, what you required can already be achieved in actual Construct, but it require php knowledge.
Webservices calls (html requests) are already manageable via the Http request object and also via Python and the xmlrpclib (standard lib).
So basicaly have the php script (written in plain PHP code, not construct way though) on your server and "communicate" with it.
In the case of http request object, it is mainly accessing an url with parameters, destination script on the server is a "classic" php script.
Or you can use xmlrpclib (python scripting / official doc
) for xmlrpc exchanges (with an xmlrpc api implemented on your server ("classic" xmlrpc lib is xmlrpc for php
/ more infos on xmlrpc
I've been working/playing with this lately (using joomla, elgg and wordpress as "servers") and once you have the hang of it, it works pretty well. Though you need to take time and dive into the documentation. And the php server side coding is an obligation (coding your own server application or plugins for already existing softwares like those I named).
So far I haven't encountered troubles with the Http object. (I must admit I mainly have been doing local testing though).
Sorry we didn't reply to your other thread! The great thing about HTML5 is it comes with websockets, and AJAX requests. Both of these features we plan to fully support with Construct 2, and aim to make it as easy as possible to make multiplayer games.
I did read your other post, and have been thinking about it. It's difficult to do, but it's something we are thinking about a lot. Node.JS would be a great candidate for Construct 2 built server applications.
With HTML and AJAX requests, it will be really really easy to make requests to servers with HTTP requests to execute certain SQL commands, and retrieve data. Websockets will be more functional for streaming/realtime data.
@ Tom & Ashley & Rich & all Construct Dev Staff: thank you for your answer guys, and once again awesome work in planning the future of construct. Sorry to have bumped the question earlier, but as I'm getting more and more serious with using construct in a professional way (construct 0.x as well as C2 in the (soon) future) I needed some clarification.
Thanks for giving it.
Once again I'm confident you'll do a great job. Thanks and keep up the awesome work.