Web开发框架 Apache Wicket

openkk 13年前
     Wicket是一个Java 语言的Web开发框架,与Struts,WebWork,Tapestry 相类似。其特点在于对Html和代码进行了有效的分离(有利于程序员和美工的合作),基于规则的配置(减少了XML 等配置文件的使用),学习曲线较低(开发方式与C/S相似),更加易于调试(错误类型比较少,而且容易定位)。    <h3>功能特性:</h3>    <h4 id="pojo_component_model">POJO Component Model</h4>    <p>Pages and Components in Wicket are real Java objects that support encapsulation, inheritance and events.</p>    <h4 id="ease_of_development">Ease of Development</h4>    <p>Because Wicket is Java and HTML, you can leverage what you know about Java or your favorite HTML editor to write Wicket applications.</p>    <h4 id="separation_of_concerns">Separation of Concerns</h4>    <p>Wicket does not mix markup with Java code and adds no special syntax to your markup files. The worlds of HTML and Java are parallel and associated only by Wicket ids, which are attributes in HTML and Component properties in Java. Since Wicket HTML is just HTML and Wicket Java is just Java, coders and designers can work independently to a large degree and without relying on any special tools.</p>    <h4 id="secure">Secure</h4>    <p>Wicket is secure by default. URLs do not expose sensitive information and all component paths are session-relative. Explicit steps must be taken to share information between sessions. Furthermore URL encryption allows highly secure web sites.</p>    <h4 id="transparent_scalable_clustering_support">Transparent, Scalable Clustering Support</h4>    <p>All Wicket applications will work on a cluster automatically and without additional work. Once bottlenecks are understood, Wicket enables tuning of page state replication. The next version of Wicket will support client-side models for zero-state scalability.</p>    <h4 id="transparent_back_button_support">Transparent Back Button Support</h4>    <p>Wicket supports configurable page version management. When users submit a form or follow a link from a page they accessed with the back button in their browser, Wicket is able to revert the page object to the state it was in when the page was originally rendered. This means you can write web applications that support the back button with very little work.</p>    <h4 id="multitab_and_multiwindow_support">Multi-tab and multi-window support</h4>    <p>Wicket provides an easy way to write application that supports multi-window and multi-tab usage allowing developer to react properly when users open new browser window or tab</p>    <h4 id="reusable_components">Reusable Components</h4>    <p>Reusable components in Wicket are particularly easy to create. Not only can you extend existing components with the Java extends keyword, but you can also create Panel components which associate a group of components as a reusable unit.</p>    <h4 id="simple_flexible_localizable_form_validation">Simple, Flexible, Localizable Form Validation</h4>    <p>It is trivial to write and use validators in Wicket. It is also quite easy to customize and localize the display and content of validation error messages.</p>    <h4 id="typesafe_sessions">Typesafe Sessions</h4>    <p>Wicket eliminates the need to manage HttpSession attributes by hand. Page and component objects are transparently stored in the session and your application can create a custom session subclass with typesafe properties as well. All objects stored in the session can automatically participate in clustering replication.</p>    <h4 id="factory_customizable">Factory Customizable</h4>    <p>Wicket is very extensible. Most operations are customizable through factories or factory methods.</p>    <h4 id="detachable_models">Detachable Models</h4>    <p>Model objects in Wicket can be very lightweight in terms of memory and network use in a cluster. When a model is used, it can “attach”, populating itself with information from persistent storage. When the model is no longer in use, transient information can be reset, reducing the size of the object.</p>    <h4 id="border_components">Border Components</h4>    <p>Wicket Border components enable the decoration of pages in a reusable fashion. This is especially useful for inheritance of common navigational structures or layout.</p>    <h4 id="support_for_all_basic_html_features">Support for All Basic HTML Features</h4>    <p>Wicket supports image tags, links, forms and everything else that you’re used to using in your web application development.</p>    <h4 id="programmatic_manipulation_of_attributes">Programmatic Manipulation of Attributes</h4>    <p>Wicket Components can programmatically change any HTML tag attribute.</p>    <h4 id="automatic_conversions">Automatic Conversions</h4>    <p>Once a Form validates, the model can be updated using Wicket converters. Most ordinary conversions are built-in and it is easy to write new converters.</p>    <h4 id="dynamic_images">Dynamic Images</h4>    <p>Wicket makes image use, sharing and generation very easy. Dynamic images can be created by simply implementing a paint method.</p>    <h4 id="pageable_listview">Pageable ListView</h4>    <p>ListViews in Wicket are extremely powerful. You can nest any kind of component in a ListView row, even other ListViews. PageableListView supports navigation links for large lists.</p>    <h4 id="tree_component">Tree Component</h4>    <p>Out of the box tree component for navigating and selecting nodes.</p>    <h4 id="localization">Localization</h4>    <p>HTML pages, images and resource strings can all be localized.<br /> <br /> </p>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1323759996265" target="_blank">http://www.open-open.com/lib/view/home/1323759996265</a></p>