Link to home
Start Free TrialLog in
Avatar of jagguy
jagguyFlag for Australia

asked on

database html 5

Can html 5 connect to server side databases?
I cant see anywhere how i can connect to a sql server DB or mysql.
Also I dont want to use a complicated solution or is it in the pipeline to develop?
Avatar of SylvainSSiri
SylvainSSiri
Flag of Canada image

It might be easier for you to access a database with php.Almost every webhost supports it,and it is quite
flexible for whatever you might need.Php and mysql both work together like charm!
A browser cannot connect directly to a database your need some kind of server side scripting as mentioned php is widely used and asp and jsp are also common.


The choice of server scripting language depends on the server environment.

Cd&
Avatar of jagguy

ASKER

ok so i can include php/mysql like in html 4 eg nothing has changed
there is no  DB features with html5 and server side DB's
HTML5 is just markup it adds new features on the client side, but it never directly interacts with anything outside the browser.  Once a page is downloaded it is just data that the browser uses to build the document object. all the dynamic come from javascript manipulating the on the document object and the built in methods of embedded objects.


Cd&
Avatar of Rob
only plugins such as activex and applets can access databases directly from the browser
No different than HTML 4 or XHTML.  Activex has been around over 10 years and is IE only, and applets almost as long.
And they bath have security risk associated with them.


Cd&
Thanks for clarifying that @COBOL - very valid point :)
ASKER CERTIFIED SOLUTION
Avatar of pleug
pleug
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial