首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > 动态生成格式良好的HTML使用java或PHP

动态生成格式良好的HTML使用java或PHP

资 源 简 介

Gagawa is an HTML Generator library written in Java and PHP. It allows developers to easily and dynamically build well-formed HTML in web or non-web applications. In Java, Gagawa is especially useful when traditional HTML generation engines such as Java Server Pages (JSP"s) are unavailable. In PHP, Gagawa frees developers from hand-writing HTML in PHP web applications. Although you can build an entire site using Gagawa, most developers use Gagawa in conjunction with other libraries to build relatively small blocks or pieces of HTML. For example, Gagawa is perfect when a developer needs to return a small chunk of well-formed HTML in an AJAX response. Under the hood, Gagawa uses Objects to represent each HTML element, or tag. For example, a
element is represented using a Div object. Similarly, developers can set attributes on these nodes using a setAttribute() method, or function, for each object.
VIP VIP
0.288720s