>If anyone can recommend any good reference material/videos for developing a 
>Flex swf integrating PHP/MySQL I would be grateful.
Take a differentiated look at your backend, your Flex app and the way how your 
Flex app will connect your backend.

Perhaps these steps are helpful implementing an PHP backend:

1)
Install a development environment (Webserver,PHP,DB) on your local machine, e.g.
https://www.apachefriends.org/index.html

2)
Start to build your backend by implementing a simple class that provides simple 
CRUD operations.
There are tons of PHP/MySQL tutorials out there, I'm sure you'll find great 
ones, e.g.
http://www.codeofaninja.com/2011/12/php-and-mysql-crud-tutorial.html
http://mrbool.com/how-to-make-database-operations-with-pdo-in-php/27443
http://wiki.hashphp.org/PDO_Tutorial_for_MySQL_Developers

3)
Bring the pieces together and  let your Flex app connect your backend by using 
HTTP-, WebServices or Remoting(AMF)
This benchmark could be helpful:
http://www.themidnightcoders.com/products/weborb-for-net/developer-den/technical-articles/amf-vs-webservices.html

If you choose AMF, here some PHP libs that fit your needs:
http://framework.zend.com/manual/1.10/en/zend.amf.html
http://www.silexlabs.org/amfphp/
http://www.themidnightcoders.com/products/weborb-for-php/overview.html


Olaf




-----Ursprüngliche Nachricht-----
Von: Tintin [mailto:1955.mille.mig...@googlemail.com]
Gesendet: Mittwoch, 27. August 2014 17:02
An: users@flex.apache.org
Betreff: Re: Simple Database Architecture Suggestions Please

Thanks everyone

My client will be hosting my Flex developed swf within Moodle which I believe 
uses PHP and MySQL so this appears to be the way forward. I will start looking 
for a carefully developed example to follow. If anyone can recommend any good 
reference material/videos for developing a Flex swf integrating PHP/MySQL I 
would be grateful.


On 27 August 2014 15:34, Kessler CTR Mark J [via Apache Flex Users] <
ml-node+s2333346n7768...@n4.nabble.com> wrote:

> I agree with using the follow.
>
> MySQL/MariaDB with php serverside
> Or
> MS SQL with ASP.Net serverside.
>
>
>     Concept being running a webserver that has php/asp.net as the
> scripted middle man.  Your application makes a http/https call to the
> web page.  The php/asp.net deals with any user security and then
> retrieves the requested info from the database.  It returns the data
> as part of the server response.
>
>
> There are also other solutions such as running other server side apps
> java/cf/...
>
>
> -Mark
>
>
> -----Original Message-----
> From: Tintin [mailto:[hidden email]
> <http://user/SendEmail.jtp?type=node&node=7768&i=0>]
> Sent: Wednesday, August 27, 2014 2:44 AM
> To: [hidden email] <http://user/SendEmail.jtp?type=node&node=7768&i=1>
> Subject: Re: Simple Database Architecture Suggestions Please
>
> Thanks Scott for your thoughts.
>
> Searching the web I am surprised how little there is on connecting a
> Flex application to a database. I thought it would be a very well trodden 
> path.
> There are plenty of articles from 6 years ago or so but very little
> contemporary support.
>
> One option appears to be to create a relational XML database and keep
> it very simple with no server requirements at all.
>
> PHP and MySQL appears to be an option and possibly MongoDB which you
> suggest.
>
> Can anyone else suggest a really good relational database for
> connecting a Flex application to?
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Simple-Database-Archite
> cture-Suggestions-Please-tp7726p7764.html
>
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the
> discussion
> below:
>
> http://apache-flex-users.2333346.n4.nabble.com/Simple-Database-Archite
> cture-Suggestions-Please-tp7726p7768.html
>  To unsubscribe from Simple Database Architecture Suggestions Please,
> click here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.j
> tp?macro=unsubscribe_by_code&node=7726&code=MTk1NS5taWxsZS5taWdsaWFAZ2
> 9vZ2xlbWFpbC5jb218NzcyNnw3NjA0ODI2NTM=>
> .
> NAML
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.j
> tp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabbl
> e.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamesp
> ace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscrib
> ers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_in
> stant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Simple-Database-Architecture-Suggestions-Please-tp7726p7769.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

________________________________

Edscha Holding GmbH
Sitz der Gesellschaft: Remscheid
Registergericht: Wuppertal, HRB 22889
Geschäftsführung: Francisco J. Riberas Mera, Francisco López Peña, David 
Vázquez Pascual, Torsten Greiner, Markus Kirchner, Hans-Peter Schulz und Volker 
Weiss

Vertretungsberechtigt sind nur Geschäftsführer und schriftlich Bevollmächtigte.

Solely Managing Directors or employees with a written proxy have got power of 
representation.

Der Inhalt dieser E-Mail einschließlich etwaiger beigefügter Dateien ist 
vertraulich und nur für den Empfänger bestimmt. Sollten Sie nicht der 
bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung, 
Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte 
informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie die 
E-Mail einschließlich etwaiger beigefügter Dateien von Ihrem System. Vielen 
Dank.

The contents of this e-mail including any attachments are confidential and may 
be legally privileged. If you are not the intended recipient, any disclosure, 
copying, distribution or use of its contents is strictly prohibited, and you 
should please notify the sender immediately and then delete this e-mail 
including any attachments from your system. Thank you.

Reply via email to