Codeigniter GUI project V2 |
[eluser]Blaze Boy[/eluser]
i have designed vunsy kernel months ago ... and the overall feedback is that it needs more development http://ellislab.com/forums/viewthread/128510/ and i figured out that dojo has a time killing loading time ... low performance so i think EXTjs would be a good gui for the application well i made a fast prototype of what it will be the next generation of vunsy config -vunsy rootusername = root rootpassword = toor -widget widgetsDirectory methodPage --> method page executer ajaxPage --> method ajax executer -theme library config themesDirectory doctype charset sitename pagetitle = '' pageprefix pagesuffix theme = "default" cssfiles jsfiles jsatfoot controllers -render -view( $page ) -edit( $page ) -rss( $page ) -method( $page, $id, $method ) -ajax( $id, $method ) - XMLRPC server (invent API for vunsy) -install libraries -extending loader -load->theme('file',object,[TRUE,FALSE] ) helpers -html helper extension : -tag(array) --> can render arrays with key==TAG -tag( string, [tag]) wrap string within <tag> and </tag> -tag( string, [starttag], [endtag] ) wrap string within start and endtag -div(object-array, 'attr'-array(attr1,attr2) -div_attr( attr array, string-content) -table($head,$body[])--> tabular array of objects or assoc arrays -theme : -theme_load() --> deprecation for the loader->theme() -theme_url($themefile)-->return full url of the themefile -theme_title( ['html'|'string'] ) --> getter only -theme_sitename( [string] ) --> work as setter and getter -theme_pagetitle( [string] ) --> work as setter and getter -theme_add(string|array) --> adds css, js, blocks -theme_meta() --> return meta tags (adder and getter) -theme_css() --> return the css tags block (adder and getter) -theme_js() --> javascript block (adder and getter) -theme_head() --> return all the head block (css+[js]+title+meta) -theme_foot() --> js of foot (if js at foot specified) -auth : -auth_check($perm) -auth_always_valid_when($perm) -auth_var($var, $value) --> add variable -auth_bool($var) --> add boolean variable -auth_array() --> return array['opers'=[],'bool'=[],'vars'=[]] models ----note: make some modefication for the old classes -page --> the same as vunsy1 section class -published field required -content extends datamapper - take the same class of vunsy1 - get_widget() - widgetAutoloader( $class ) -widget -constructor($content) -> loads language file -id -data --> data values -lang --> language file name -content --> instance of content record object -publicAPI --> array of public function names -cell = 0 --> number or widget cells and replaced with array in running -config() --> return required fields -init() --> initialization code for the widget -view() --> return widget output in view mode -edit() --> return widget output in edit mode the default action is view() -add() --> add event -delete() --> delete -save() -->save action -user --> the same as vunsy1 -usergroup --> the same as vunsy1 userlevel Folders -themes folder (views) -default (default theme) -widgets folder (models) -assets --> common javascript, css, images, video ..etc -uploads folder--> writable i need you reviews and ideas to build a good gui for codeigniter guys
[eluser]timtocci[/eluser]
You shouldn't give up on dojo so easily. Ext (which isn't even Ext anymore) is a beast with an overhead as well. And Ext isn't free for commercial users. Granted they have a more mature portal style display, but dojo isn't far behind as far as that's concerned (see Shane O'Sullivan's portlets). |
Welcome Guest, Not a member yet? Register Sign In |