-
5 May 2012 5:11 AM #1
Retrieving MySql Queries to JSON in Architect - how?
Retrieving MySql Queries to JSON in Architect - how?
I have followed several EXTJS + PHP + MYSQL tutorials and somehow I am still confused on retrieving MySql Queries to JSON in Sencha Architect.
Currently, I want to know the process of the following:
1. Where is the part in Sencha Architect that I can request for MySql queries?
2. Is conversion for MySql to JSON in Architect automatic? Or must I need something else?
-
6 May 2012 2:51 PM #2
ExtJS and Sencha Touch are UI / client side frameworks.
Sencha Architect is for UI construction only.
Data access code must be written at the server side with your favority web language/framework, say: ASP.NET, PHP, Java, Ruby, etc.
Regards.UI: Sencha Architect 2.x / ExtJS 4 MVC
Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
Application Server: Glassfish 3.1.x
Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5
If you like my answer please vote!
-
6 May 2012 11:42 PM #3
Aye as above, then a JSONP proxy to retrieve the data afterwards into a model/store
-
8 May 2012 11:01 AM #4
I have done this using php
I have done this using php
After a day of reading a finally got a working CRUD Example for Sencha Architect 2. Its on this forum and its named: ErnestoR-Extjs4_PHP_MySQL-417807b.zip
There is a working extjs example with php on the backend, connecting to MySQL Database
C Create
R Read
U Update
D Delete
I reAttach the zip file. Its located at github as well.
-
8 May 2012 11:34 AM #5UI: Sencha Architect 2.x / ExtJS 4 MVC
Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
Application Server: Glassfish 3.1.x
Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5
If you like my answer please vote!
-
16 May 2012 7:43 AM #6
How do we manage double click in Sencha Architect
How do we manage double click in Sencha Architect
I understand that Sencha Architect is just for creating UI and the rest programming can be handled in the Server. But how do we handle actions like double click.
Say you have a grid with data being populated from the database.Now you want to double click any row and get more info about that row on a pop up. I know the code for that.
But I want to know how that can be done in Architect.
Thanks in Advance
Nitin
-
16 May 2012 7:54 AM #7UI: Sencha Architect 2.x / ExtJS 4 MVC
Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
Application Server: Glassfish 3.1.x
Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5
If you like my answer please vote!
-
21 May 2012 5:05 PM #8


Reply With Quote