Daniel Ellison wrote:
There has been some talk of modifying iUI to use XUI as a base framework. But nothing more than talk. It's something I'd be interested in seeing if anyone wants to give it a try.

And that would be called iUI-XUI? :)

Perhaps. Naming the baby should probably wait until there is a least a sonogram...


I haven't studied the source of iUI yet (my apologies), but on a quick glance it looks like it currently handles everything itself with no dependencies.

Yes. Which is actually a very nice thing about iUI. There are many advantages to having no dependencies:

1) Small size/Quick loading
2) Can be used as a starting point ('scaffolding') for your project without needing to learn/use a specific framework 3) Great way to learn how Webkit/iPhone/other works without details hidden in a library
4) Allows for integration with other frameworks or extensions if necessary

What would be the advantage of putting iUI on top of XUI? Code simplification? I'm just curious.
The arguments for using an underlying framework are:

1) It could reduce the size/complexity of iui.js itself
2) Javascript functionality built "on top of" iUI would be able to share the base library 3) Having a standard "general purpose" JS library under iUI might simplify/encourage extension/plugin development 4) iUI apps could potentially share extensions/plugins built using the general JS library

I don't know how many lines of code iui.js could be reduced by using XUI or any other framework. I don't think it would be more than about 20%, but I'd be curious to see the result. I did look at early versions of jQTouch that were a port of iUI to use jQuery and the reductions to the renamed iui.js file were dwarfed by the size of jquery.js. XUI being smaller and more focused on mobile (e.g. no IE support) would result in different relative file sizes.

There are many different approaches to mobile iPhone/Webkit app/site development. They all have advantages and disadvantages and the "right "choice usually depends upon the specific project and the skill-set of the developers.

My time is limited and I'm focused on maintaining iUI as a standalone micro-framework and enabling/encouraging others to contribute. If anyone wants to create a port of iUI that is built on XUI (or any other general purpose framework) I would welcome that effort as a subproject of iUI. More choices and more experimentation are always a good thing.
-- Sean

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.


Reply via email to