From: Evan R. <eva...@gm...> - 2006-04-29 22:33:10
|
hey, kev, i see that you've started to put in the...um...framework for a framewo= rk. after chopping apart the options page today, i became a little disheartened. currently our controller is a big fat blob and the view is a mess. in order to get any kind of css to play nicely, we really need to strip out a nice view and keep it super simple: for example, the feeds list, should be 1 view, which is then invoked from the panel or frameset or whatever. right now, this same list is coded almost identically in feeds.php (framed) and panel.php (normal). i'm really getting the feeling that we should just bite the bullet and switch to a php framework...which will make everyone's job easier in the end, even if it is a bit of work up front. i've never used any php specific ones (only struts for our jsp stuff at work), so can't make a good suggestion. been reading quite a bit about symfony lately, but it might be only php5. otherwise, i've heard good about cakephp, since it seems to be emulating rails, and thus riding the popularity wave. i'd imagine we'd be much better off implementing something that's already available, rather than trying to build our own. in any case, my concern is not so much the fat init.php, but the view that is all over the place. and if we want to really push out a nice tableless, css based UI, we need a really efficient view. (this also helps if we decide to go down the ajax road as well) anyway...just thought i'd add my 2 cents...perhaps some of the other devs have some thoughts. discussion is always good. if it should be done, i don't mind jumping in the cold water and starting with it. i just want to pass off some clean simple markup to khaled ASAP, so we can begin seeing some initial versions of the new UI...that will be really exciting... /evan |