I am just starting out with Haxe development, and wanted to give the PHP side a go, but am already a little confused.
What is the best way to save some form data to XML files in a folder on a server with Haxe compiled to PHP?
I am just starting out with Haxe development, and wanted to give the PHP side a go, but am already a little confused.
What is the best way to save some form data to XML files in a folder on a server with Haxe compiled to PHP?
Well you can do it two ways. Make the website form in haxe, which includes:
making proper .htaccess file for the project on server,
writting a Main class (that htaccess will be pointing) which will take a request, and return either a form html document or will take the data from the form...
then put that data into xml format, and finally put that data into a file.
Here are Api files you should have a look at:
File methods for writting to a file
Template class for generating simple html / very simple
Depending on complexity of xml you may want to use a specialized class
And the second way is almost the same, but you only compile to one file. And in your html form, you put your action link to the php filed that came out of compilation...
Haxe has Apache httpd modules and can compile to PHP code. These are 2 options I know to make a web application that runs on the server. You can start a http server with nekotools, but this is ...
I know of FlashDevelop for windows but how about developing actionscript or haxe on a mac? besides flex plugin for eclipse, flex builder and FDT is there anny good IDE out there for actionscript ...
I want to create a WP plugin with use of WP DB tables and costume ones, Ajax requests Rss feeds reading and writing and media storing and Google maps. Such a crazy plugin it will be... So Haxe PHP ...
In Firefox 3, all the mouseWheel events in my Haxe/Flash app are firing twice. This only seems to happen in the Windows version of Firefox; it doesn t happen in IE or Opera, and it doesn t happen in ...
I have an 2D image that I want to draw in true 3D, and spin around its centre. I m using Actionscript 3 code (actually Haxe, no IDE), and I m struggling to discover the values by experimentation. I ...
I am just starting out with Haxe development, and wanted to give the PHP side a go, but am already a little confused. What is the best way to save some form data to XML files in a folder on a server ...
Is there any debugger for Haxe in FlashDevelop?
It is possible to enabled hardware optimization (wmode) from haxe?