返回列表

Use JavaScript create full page! Are you crazy? So much details ..... Image, table, list, menu, tree .... Wait, you can use template! How and which? Struts, velocity, smart, jquery? No, no, just use this [Format code] Use case: format('Hello ) Too young to simple? Try this ui = "type: 'Taskboard'" But how? Use template to layout! Like this [html code] <!--target: page--> <div class="header"> <!--import:header Define the simple control, like this [code] Need a complicated control ? It's too simple, just use template, like this [code] bui.Control.init() Don't like this way? How about this [code] bui.Control.create() Is it sample? Yes, you may say it too 'sample', but it is really POWERFUL. Thank you!

默认分类 2014/03/27 08:33