On 05/17/2012 12:49 AM, Jens Eckervogt wrote:
> But I can ask: Why do i not need php? But i want use with SQL / PHP. If you
> register new Member from my website than you are saved into Login-System,
> you can write post for example than an Administrator will read your written
> post - If your post is same failed than administrator edit or remove post.
> For example Just it is working for SQL / PHP. Is it important with PHP /
> SQL.
>
> I want know about if ... else ... with PHP and JS ( Qooxdoo ).
>
> Website should be installed with Installation by Administrator than website
> goes back normal completed website. Look like this phpBB, vbullett or
> Wordpress.
>

Ok, so I gather you are building some kind of blogging system. But still 
you have two kinds of data the system might want to interchange with the 
server:

1. UI elements, like a login dialogue or a post editor. These could be 
qooxdoo parts which are loaded on demand. But to load such a part, the 
qooxdoo runtime only makes requests to static content (.js files). 
Unless you store those .js files in a database (which would be quite 
questionable), there is no need to use PHP and SQL to serve them.

2. Application data, like the login name or the concrete post. These 
make a lot of sense to be run through PHP/SQL, but it has nothing to do 
with part loading. You can transport this data from the qooxdoo app by 
just using XHR requests (e.g. through qx.io.request.Xhr).

Of course both cases can be closely interwoven. Getting back to a 
scenario from your initial post, the qooxdoo app could request a 
"config.php" resource via Xhr, and on a 404 response invoke the 
PartLoader in the response callback to load a specific part that 
implements the "Screen-Installer" which allows the user to enter 
additional information.

Does that answer your question?

T.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to