-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Orchard 2 as backend for a SPA #1004
Comments
I would love a combination of both well! One year ago (or even longer) I experimented with an early alpha version of Orchard and put Angular 2 with Universal (server side rendering) into the mix. What I can tell from my memory is that it is possible in general - if you hack into both of them, but it was more or less pain in the ass. In Angular I needed to write some custom crap I don't know the term for anymore which basically creates new components on the fly at runtime for the content Orchard delivers. That annihilates the advantages of AoT, but hey - no perfect world. I got a demo website with a couple of pages running, but no advanced features. At the end of the day I came to the conclusion that it might be easier to either wait for the release and look again or just write the CMS completely in Javascript (which would sucks much more... :) If anyone with a better understanding of Orchard could give us some inside, I would appreciate it. |
1---in my view, I think what we can do web api easily right now is that we can still use current admin panel, but provide new rest api as the following developers need. the urgent is pulling in #849 and restructure the codes to just keep necessary code. 2--for content management system, I think current repository has a branch called XXXapi, (jsonapi?) |
Hi! I thought it would be good to clarify my thoughts about using Orchard 2: Orchard 2 is still very much a content management system to build (semi-static) websites and blogs. We would like to have something like AspNET Boilerplate application development flavor. Because in our developer world, it would be great to create a web application for a customer and, thereby be able to combine existing modules, or enhance them.
However, there are two technical reasons that stop me using Orchard 2 for now, and these are all YesSql stuff:
Apart from that, there is still much to be done to support our usage scenarios:
Sorry for spanning this issue, I just hope that someone reads this and understands our dev-lifes a little bit better. :-) |
Moved to #234 |
Hi there!
I am currently thinking about how we could use orchard as the backend of a single page application.
That is: Query content items, and the menu, and such, without doing complete postbacks.
In the end, it would be great to have a module, which makes Orchard SPA development as easy as it is with aspnet boilerplate: See their great documentation
Or have a look at this great article on code project: A Multi-Tenant (SaaS) Application With ASP.NET MVC, Angularjs, EntityFramework and ASP.NET Boilerplate
The strengths of Aspnet Boilerplate is the easy setup, and the SPA support.
What it lacks of in comparison with orchard is:
So I am obviously searching for a way to combine both frameworks and create a SPA on top of it.
Are you guys having any ideas on how I could best do that?
(I am already struggeling on getting started with orchard 2, as there is no documentation yet and I am not an Orchard 1 pro... :-|)
The text was updated successfully, but these errors were encountered: