xkin

本文介绍了Xkins框架,它可让网页以不同外观呈现,无需为每个皮肤编写页面或使用CSS。Xkins能管理网页颜色、字体和图像,可定义多个皮肤且能相互继承。该框架用Velocity处理HTML片段,有表单标签库,能与Struts等框架集成,还可从SourceForge.net下载。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

http://xkins.sourceforge.net/index.html

Xkins is a framework that manages skins for your web application.

Skins are used for a web application to look in a different way without the need to write one page for each skin or using CSS. A skin manages colors, fonts and images of your web page.

In early Java-Server-Side days, you used to put HTML hardcoded in a Servlet. Then, JSP came to allow you to put your HTML outside Java code. Nowadays, the same happens with taglibs that have HTML tags hardcoded in Java code. Using Xkins you can put this HTML outside your code with an additional and powerful feature: Skins.

Xkins stands from eXtendable Skins. You can define as many skins as you like, and each skin can extend other skin, so it can use all its parent's components and override what it needs to look in a different way. With this feature, maintaining multiple skins becomes a simpler task.

Xkins framework uses Velocity to process snippets of HTML, but you can use any other template processor (Xkins comes with it's own default processor). Xkins also comes with Forms Tag Libs, that allows you to create forms using Xkins and comes with four Skins. Xkins Forms integrates with Struts framework.

Xkins also fits perfect in JSF world, playing a role as a RenderKit, and can work with other presentation frameworks, Struts-Layout.

You can download Xkins framework from SourceForge.net.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值