-
10 Jun 2012 7:13 PM #1
Importing models
Importing models
Hello!
I heard claims that their should come a way to import existing code. I started a own thread, because I don't just want to import some random extjs code.
I want to write a generator which extracts ExtJS 4 model definition (from PHP stuff) which could be loaded into Sencha Architect. For that it also would be possible to write some meta data, a different format or have a specific structure if that is needed. IF I would do so is there any way to import models?
thanks
RolandRoland Schütz
Senior Software Architect
---
Bancha Project - Seamless integrate CakePHP with ExtJS and Sencha Touch
-
11 Jun 2012 12:26 PM #2
Unfortunately, there isn't a safe way to do this currently. Importing code into Architect can take many forms, thanks for bringing up this use case.
David Foelber
@davidfoelber
Sencha Architect Development Team
-
11 Jun 2012 12:58 PM #3
Any time horizont when there will be one?
thanks
RolandRoland Schütz
Senior Software Architect
---
Bancha Project - Seamless integrate CakePHP with ExtJS and Sencha Touch
-
21 Jun 2012 7:14 AM #4
Any new infos?
Best regards,
RolandRoland Schütz
Senior Software Architect
---
Bancha Project - Seamless integrate CakePHP with ExtJS and Sencha Touch
-
11 Jul 2012 3:33 AM #5
Another month went by, anything new???
Roland Schütz
Senior Software Architect
---
Bancha Project - Seamless integrate CakePHP with ExtJS and Sencha Touch
-
11 Jul 2012 12:11 PM #6
It's something that we are considering in the future, but there is no current plans for an implementation.
Aaron Conran
@aconran
Sencha Architect Development Team
-
11 Jul 2012 1:56 PM #7
I have automatically generated ExtJS models, so typing everything again for a lot of models just for Sencha Architect is quite ugly, especially because we will have many iterations...
Is there maybe a trick how I could make it work for my own projects (maybe a bit buggy)?
Maybe I create the models by hand, but then generate the fields, etc?
thanks a lot
RolandRoland Schütz
Senior Software Architect
---
Bancha Project - Seamless integrate CakePHP with ExtJS and Sencha Touch
-
11 Jul 2012 4:25 PM #8
Well obviously you could create the underlying metadata files if you are looking to transform a bunch of existing code you have, then would just need to make sure you got a proper unique id for your new models.
Aaron Conran
@aconran
Sencha Architect Development Team


Reply With Quote