Posted 20 January 2012 - 11:15 PM
Some back behind hours I was watching this project: http://sitefusion.org/
¡Looks amazing!. But I like Yii, I know more or less how to use Yii and I love the CHtml and Zii widgets. So, I was thinking if can be posible make some extension widgets, like Zii, but for work on a thin XUL client, just like SiteFusion.
By this way we will can make more amaizing apps without need of a browser and using just PHP.
What did you think?
Posted 22 January 2012 - 12:32 PM
Posted 23 January 2012 - 04:56 AM
I still believe this is possible and I really like the idea. Perhaps it might be possible to bypass SiteFusion entirely and create a client application based on Mozilla's XULrunner.
I'll look closer on it and might even start some work on this in march. I'd say I'll need a month to come up with useful results. Most widgets will require patching for this as they are producing hardcoded HTML-output.
Any comments by the devs? I think this might be good for my thesis
Posted 23 January 2012 - 09:54 AM
After a light view to SiteFusion I has make an Idea, but I need see with more time and dedication the SiteFusion code for understand that.
Anyway, I has thinking must be possible take the SiteFusion code on charge of build de Xul and make a Wrapper like you say, some CXUlViewRenderer and other classes around if is needed.
Will be nice if after we take the SiteFusion thin client and, then, offer the option of build Web Application just coding with PHP and get a GUI with native look and feel.
Posted 10 February 2012 - 12:33 PM
A word on interactivity/widgets: I found a jQuery fork that is capable to interoperate with XUL. This is opening some interesting options, since already existing widgets can provide output that could be more or less tossed right into XUL. I wouldn't rely too much on this, though.
Theming: Seems the most elegant way of achieving this is using pure CSS. From all other options it also seems to be the most hassle-free one.
I'll keep you updated. After all, it's still a great idea
Posted 29 March 2012 - 06:41 AM
After some additional research, sample implementation and a lot of thought, I'll quit this for now. I always end up re-implementing the entire CRUD-code for SOAP again. This is an awful lot of code-duplication, which will always tend to result into spaghetti-code. It is still possible to do this with Yii. But there is no clean way. I see no solution that integrates nicely and simply "feels nice."
In the meantime: Get SiteFusion and pull in yii as a library. I'll see if things will go better in Yii 2.