Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
is there a good library, that abstracts the differences between servlets/portlets/ concerning views?
Specifically I want to be able to write a view once and use it in a simple webapp or in a portlet. It may be a tag library, or a template language or whatever there is.
It should make development dead simple and reuse possible and abstract things like servlet session/portlet session, renderRequest/servletRequest/
A portlet is a webapp. There could be some differences according to the Framework you use but you can write a "classic" java webapp then configure it to be a Portlet (with the portlet.xml and with a PortletBridge).
For example, if you use JSF, you can juste write a class which extends GenericPortlet and which will redirect each portlet action to your JSF lifecycle. You can use the JBoss PortletBridge for example.
There is also IceFaces for JSF portlets. But you can also use any Framework (Struts2, Struts, Vaadin etc.).
Hope it helps.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
Although it is called Razor Pages for a reason I'm just wondering if it is possible to use a different view engine, say Spark Engine or any other View Engine you can think of.
I also wonder the same thing for Blazor.
Edit: This question was previously closed because it was thought that I was looking for recommendations. I'm not looking for recommendations, I want to learn if it is possible to change the view engine of a Razor Pages project.
There is a microsoft project that changes the rendering engine to use blazor for native platform apps.
It is in very early stage, but shows the possibilities.
https://learn.microsoft.com/en-us/mobile-blazor-bindings/
I believe it’s completly possible, but very complicated, considering that you are going to need rewrite all the bindings and connections that blazor offers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Which javascript framework can make SPA web application frontend with separation of frontend and backend.
AngularJS is the JavaScript framework, that has been developed for creating S.P.A. (single-page-applications).
For it to work, you need to have basic knowledge of the following things:
JavaScript
HTML
CSS
It does have separation of contents between front-end and back-end.
Basically, it's a front-end framework; it can consume the services through RESTful API's.
You can read more about it here.
Although, this is not the only one that enables you to create SPA, on googling you can find many of them, since I am working with this, I have referenced you its name.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Are there any open source asp.net web applications which are using backbone.js and preferably those that have composite views and models being shared among views.
It will be a good to have the source code of some real world applications to understand backbone more.
While the EpicWinHosting web is real world it is not open source.
However they have given a very detailed blog with code examples which might be what you are looking for.
Have you seen the Todo List app on github?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am new to Drools and due to some specific generalization requirement, I have to implement JBoss Drools with Spring MVC project.I am totally unaware of how to get ahead with it. I would appreciate any tutorials as well as documentation to know about the integration and getting started process. Thanks
From my own experience, the drools-spring library didn't provide much benefit, and there were issues such as dependencies on specific versions of Spring.
In truth, there's very little integration involved in getting up and running with Drools in a Spring application. My approach is to just create a Spring bean to wrap a Drools knowledge base.
#Component(value="knowledgeService")
public class MyKnowledgeService {
private KnowledgeBase knowledgeBase;
private StatefulKnowledgeSession knowledgeSession;
...
The constructor can initialise the knowledge base and session (if you're using a stateful session). This way, you have a single Spring-managed instance of your knowledge base. Beyond that you just need to put a few methods on your service to enable interactions. These might just delegate to Drools operations. i.e. insert(Object) and fireAllRules().
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
can any one indicate a asp.net open source project based on xsl?
Thanx.
Assume you need open source projects which manage presentation using xml, xsl and xslt...
There are some projects available in CodePlex
AspXslt
AspXslt is an easy way of separating presentation layer from business logic by using an HttpHandler to transform XML documents generated by your custom components. It can be the foundation of a bigger project like a CMS or MVC application.
It's developed in C#.
Landscape - XSL Presentation Framework
Landscape is a flexible presentation framework for ASP.NET web applications written in C# and based on the XSLT language.
It is meant to take care of all the operation necessary to produce well-formed, clean and reusable (X)HTML code.
It currently supports the following features:
Nestable templates
Template2Template parameters
Custom reusable presentation code definition (widgets)
XSLT template caching
An XSLT Extension providing a very basic (for now!) set of function for use into XSLT templates