I'm working on creating a small Spring MVC app would like to implement some form of theme-ing. I've got experience with using Sitemesh and Tiles but never had any experience in creating a theme-able app before.
I would like to do it in such a way that end users can create there own designs and put them somewhere where the application can load from and use.
I'm not sure what the best mechanism or technologies are for this. I've been thinking of Velocity or Freemarker but have no idea how to approach this solution.
I would like to make the app a war and deploy to Tomcat.
Related
I am trying to make an spring MVC based application with google polymer in front end.I am novice in google polymer
Can anyone help me with the project structure, where and how to arrange the polymer library?
So after some readings, i found the answer, might be useful to others
The UI application build in Polymer is single page application which consumes web services form another application in spring (could be anything else)
the two applications deployed separately , there is no need to bundle these together, instead these shouldn't be.
I've inherited an Asp.Net webapplication using webform, and are trying to find out how to best migrate this to a more modern architecture.
I've decided to use Asp.Net Core for my new backend (moving existing logic into this new Asp.Net Core project), and I'd really like using Aurelia for my client-side logic/views.
What I'd like to do is to replace existing functionality "one-by-one" with Aurelia components communicating with the new backend.
The problem is how to bootstrap the application without Aurelia "forcing" app.html to be the initial page.
I'd like to keep the current startup page, site structure and routing, and just develop components in Aurelia that I can add to the existing webform pages.
I'm totally new to Aurelia, so please be gentle if there is an obvious answer to my question. ;-)
Regards,
Jon S.
Thanks to a member of the Aurelia Community, I was able to locate this in the docs:
http://aurelia.io/hub.html#/doc/article/aurelia/framework/latest/app-configuration-and-startup/8
...which is exactly what I was looking for!
OrchardCMS, Umbraco and DotNetNuke are CMSes in .Net galaxy. They work as stand alone applications well. Suppose I have a requirement that need CMS features in an another ASP.NET MVC application. I do not like to implement CMS again in the application. Rather I like to use current CMSes as a component of application.
Is it possible at all to use for example OrhcardCMS as a component of my MVC application? It is ideal to have relations between CMS and application itself, for example I can load entities from CMS, update them etc.
I know there are integration techniques in .Net. For example ASP.NET Identity integrates with ASP.NET applications in core level, but view (CSHTMLs) must be copied and customized in most cases. Or Hangfire and ELMAH that integrates with an application without need to copy view (cshtml, html, css) to the target application. Indeed it is good to know that integration methods are available regarding plugging CMSes into ASP.NET applications.
I can tell you more about Umbraco as I don't know other CMS as much as this one. There is a whole course / training for those who want to integrate their apps with Umbraco: https://umbraco.com/products-and-support/training/umbraco-application-integration/. So yes, it's possible and it's even suggested way from my perspective to use already done piece of software rather than building the wheel once again.
Umbraco is an ASP.NET MVC application. You can use Umbraco components, backoffice, membership and everything else CMSish delivered out of box and still you're able to write and use your business logic, controllers and everything else what you've created inside your ASP.NET MVC / C# app. Still, it's an ASP.NET app, so you can use anything what you want from the .NET world. We're using ELMAH.io for example to take care of logging and keeping the errors in the cloud. We're also using a ton of 3rd party, both open-source and commercial tools and softwares to do multiple things around our web components. Umbraco is not blocking us from using them or anything else. I like to consider Umbraco as a framework or library helping us to deal with content editing and giving us a massive number of opportunities to offer for our clients or editors.
Speaking for OrchardCMS, there are some questions touching this subject already, see
Reusing Orchard's Core to build another extensibility framework
Extracting a Module from Orchard
If it's possible for you then try to setup Orchard as the base system and move your MVC application in a module. This will be much easier than trying to cut out peaces of Orchard. In return you get amazing possibilites when running Orchard as the underlying framework, e.g. Localization, Modules, Themes, the whole user / role management etc.
OrchardCMS 2 is currently developed towards single components that can be reused in any application but it's far from finished yet.
I would like to control the flow of an existing spring MVC web project using jBPM. I think i want to make .bpmn file that each task opens a jsp web page. Is it possible? How do you combine your existing project to be managed by jBPM? Thanks,
You can create a workitemHandler to represent a web page and use the engine to redirect your application from one page to the other. But that's not exactly a business process (the real reason why BPMN2 was designed, it not to automate a web application flow). so you need to analyze if doing that kind of automation will give you the flexibility that you are looking for.
Cheers
Good day!
For PHP framework CodeIgniter exists 'app-framework' BackendPro:
What I mean by this is it provides you with functionality to do all the simple repetitive tasks like authentication, permissions and a basic look and feel for your websites control panel. So using your current PHP and CodeIgniter knowledge you can use BackendPro to built a fully working website quickly since you can concentrate on your application instead of the bits to manage the system.
It helps a lot with building quickly backend of the site (grids for entities, common CRUD interface, login\logout etc you know :)). In fact it is a stub for a backend. Does something similar for ASP.NET MVC exists?
Thanks in advance!
You could be interested in this and following articles by Steve Sanderson:
Scaffold your ASP.NET MVC 3 project with the MvcScaffolding package