VIA:Remote Synthesis
CF Apps (Free – open source)
VIA:Remote Synthesis
CF Apps (Free – open source)
“BlockML lets ColdFusion developers block access to ColdFusion in display templates. It allows the developer to choose which queries, variables and functions are available in the BlockML display template. Perfect for allowing your end users & designers “secure” access to customize your web application resources.”
BlockML is an abstract templating language for ColdFusion web applications. In the model-view-controller software design pattern, BlockML can be thought of as the “view engine” which can integrate with popular frameworks like Mach-II, Fusebox and Model-Glue, but is also easy to implement into custom sites. Instead of using pure ColdFusion, CF web developers can use BlockML to create display templates. Web designers then customize BlockML templates instead of raw ColdFusion templates. The BlockML parser translates templates coded with BlockML into “real” ColdFusion code behind the scenes. This is advantageous because the application programmer can pick and choose which variables and functions are available to the front end display “view” file, rather than having the entire library of ColdFusion variables and functions available within your display code. BlockML has built-in control structures like loops and conditionals, dynamic expressions, functions, logging, error handling, and more. This templating engine is already in use by approx. 330 websites.
当前的XML聚合规范(或者说格式)有好几种,Netscape出了RSS 0.90, RSS0.91, Userland出了RSS 0.92, RSS 0.93, RSS 0.94, RSS1.0 和RSS 2.0 ,Google又搞了个ATOM0.3,这种混乱的聚合规范使得开发聚合服务带来了难度,ROME就是为了结束这种无赖的局面而诞生的。
ROME是用JAVA写的开源程序,遵循Apache Software License,运行环境需要J2SE 1.4+和JDOM 1.0,它能转换并解析当前的所有聚合格式,当前版本为0.6Beta。
当然如果想用纯的CF实现ROME的功能,也有人写了个CFC,它能将RSS和ATOM转换成一个公共的结构,然后就可以放心大胆的去提取结构中的XML数据了。
对没有CF ADMIN 操作权限的虚拟机用户很有用:
相关文章及代码:
Loading java classes from an arbitrary location
building and using a flexible categorization system
没有用到递归,想法也很独特,能对类别进行添加,修改,删除.
我运行了下源代码,灵活性不大,比如:所谓的修改只能修改某类别名称,而不能修改其子父类从属关系.
总的来说还是可以参考下的.
P.S.其实就是转的CF开发者杂志里的文章.