0

DB access/PHP

asked 2006-05-12 02:18:37 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3725162

By: kokenge

Just a couple questions before I try ZK.
I have some very complex scripts in PHP.
1. Can you connect to databes like MySQL and SQLite.
2. Is it possible to run PHP code on the server side.


delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2006-05-12 08:40:24 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3725454

By: henrichen

ZK is as thin as presentation layer. It does not assume any database connection methods. You can use whatever database you like via JDBC, Hibernate, or other ORM, etc. The ZK's application code is Java code running at Server Side.

The ZK's programming model is "event-driven" model like of legacy Windows system.
You write "EventListener" to react on the "event" trigger by the end user (when he click a button, etc.)

"1. Can you connect to databases like MySQL and SQLite?"
Yes.

"2. Is it possible to run PHP code on the server side."
If you can find a way to make Java code calling your PHP code, then the answer is "Yes".

/henri

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-05-12 02:18:37 +0800

Seen: 544 times

Last updated: May 12 '06

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More