Ben sadece haXe gelişimi ile başlayan, ve PHP kanattan gitmek vermek istedim, ama zaten biraz karıştı duyuyorum.
PHP için derlenmiş haXe ile bir sunucuda bir klasöre XML dosyaları için bazı form verilerini kaydetmek için en iyi yolu nedir?
Well you can do it two ways. Make the website form in haxe, which includes:
sunucu üzerinde proje için uygun. htaccess dosyası yapma,
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.
Burada bir göz olmalıdır Api dosyalar şunlardır:
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...