neonexus
7 Nov 2008, 8:29 PM
Yes, you read the title correctly.
The best way to describe this project (Currently codenamed "Coyote", which spawned from the acronym CYOT, which stood for Create Your Own Tag), is to say that Coyote is a PHP-based system, designed to take XML as input, and output data given to it by tag definitions. Tag definitions are PHP functions tied to tags.
In other words, it reads the XML, and runs a function for each tag.
What does this have to do with ExtJs you ask? Think of it this way, I write an XML file, and Coyote does all of the dirty work of creating Ext components. Well, perhaps the best way is to see it in action. I'll have a flow-chart of the logic eventually.
I forewarn you, there is a lot going on in both the XML file, and the output. I did comment a portion of the XML file. However, the output is a little rough to read (for a couple of reasons). Also, these are live files, meaning they can and will change from time to time. If you see any errors, just reload, I'm probably toying with the files. I apologize about that in advance.
Basically, I created this XML file:
You can find it here (http://neonexus.freehostia.com/coyote/index)
Which gets piped through Coyote. Coyote then outputs a resulting document:
Which you can find here (http://neonexus.freehostia.com/)
I can't post the PHP code that drives this system right now, because, for one thing, it's not finished yet. (Edit: However, if you would like to see the class that I built and everything that's related to ExtJs, let me know, I would love to get your opinion.) I am also not sure of what direction I'll be allowed to take this in (either leave it open-source, or charge for it). So, until that time, this is what I can show you.
Please let me know what you think of it, won't you?! :D
NeoNexus DeMortis
P.S. Shout out to the Ext Gui Builder (http://extjs.com/forum/showthread.php?t=14702). I love that tool. That thing is bad a**!
The best way to describe this project (Currently codenamed "Coyote", which spawned from the acronym CYOT, which stood for Create Your Own Tag), is to say that Coyote is a PHP-based system, designed to take XML as input, and output data given to it by tag definitions. Tag definitions are PHP functions tied to tags.
In other words, it reads the XML, and runs a function for each tag.
What does this have to do with ExtJs you ask? Think of it this way, I write an XML file, and Coyote does all of the dirty work of creating Ext components. Well, perhaps the best way is to see it in action. I'll have a flow-chart of the logic eventually.
I forewarn you, there is a lot going on in both the XML file, and the output. I did comment a portion of the XML file. However, the output is a little rough to read (for a couple of reasons). Also, these are live files, meaning they can and will change from time to time. If you see any errors, just reload, I'm probably toying with the files. I apologize about that in advance.
Basically, I created this XML file:
You can find it here (http://neonexus.freehostia.com/coyote/index)
Which gets piped through Coyote. Coyote then outputs a resulting document:
Which you can find here (http://neonexus.freehostia.com/)
I can't post the PHP code that drives this system right now, because, for one thing, it's not finished yet. (Edit: However, if you would like to see the class that I built and everything that's related to ExtJs, let me know, I would love to get your opinion.) I am also not sure of what direction I'll be allowed to take this in (either leave it open-source, or charge for it). So, until that time, this is what I can show you.
Please let me know what you think of it, won't you?! :D
NeoNexus DeMortis
P.S. Shout out to the Ext Gui Builder (http://extjs.com/forum/showthread.php?t=14702). I love that tool. That thing is bad a**!