We need to create a PWA with angular which will wrap the ember application and communicate through some navigation and events.
PWa will be just as a container which hosts the ember so that the application can be used as native and as webapps through every devices.
We need some approaches to get some solution regarding the above requirement.
Will it be possible for everyone to give some light one that.
Planning to host the application using iframe under PWA and communicate.Not sure whether it will be helpful or not.
It's not the best idea to use Angular to create a PWA for an Ember app, you should be doing this in Ember.
One reason that it might not be the greatest idea is that if you're adding Angular to your setup you are adding a minimum of 130KB of compressed JS before taking into account any features that you might be using. Assuming a baseline Ember app size you're talking about adding a roughly 60% extra JS to achieve something that can also be achieved by Ember.
It sounds like you might be following a tutorial on how to turn an app into a PWA that is based on Angular. If you are you having specific issues that you don't know how to solve with Ember I would recommend joining the Ember Community Discord and asking for some help there and maybe someone will point you in the right direction.
Is it possible to implement RESTful webservices with Orchard CMS? The way I understand it from reading the documentation is by implementing a new module and rendering the views as json/xml/etc.
What if I wanted to expose all of Orchard's Admin abilities through a web service?
Orchard is MVC. You would do that pretty much exactly the same way as with a regular MVC app. Only difference will be how you define your routes (implement IRouteProvider instead of adding them from global).
I have not done it myself. I have used Orchard CMS and WebApi on separate projects though.
I do recall seeing a blog post explaining how to integrate WebApi with Orchard CMS.
If you are not familiar with WebApi you should check it out.
Here it is: OrchardProject + WebApi = interesting
I am looking for a web app framework which can automatically generate an HTML5 offline storage based app, so while the users become disconnected they still can view the data which normally is stored on a server
Also currently I am using Django and it would be great if there was a framework which could pull data from Django and present that as an offline app.
From the related questions suggested by stackoverflow, while writing this question, I found one interesting link mentioning that GWT has such functionality, I would like to know more about that if possible and if it can generate an HTML5 offline app
Thanks in Advance
Rather than server-side frameworks, you should be taking a look at JavaScript frameworks.
Dojo Storage will transparently select between providers such as Google Gears, Adobe AIR or plain old HTML 5 local storage. Dojo 1.5 - dojox.storage: http://dojotoolkit.org/api/1.5/dojox/storage
There's also jQuery local storage: http://plugins.jquery.com/project/saveit
... or jStorage, which can act as a storage plugin for jQuery, Prototype or MooTools: http://www.jstorage.info/
With any of these, you should be able to use a quick little AJAX call to pull (JSON perhaps) data from your server and use one of these tools to help minimise your storage code.
You're talking about a standalone app, not a django app.
This can be done with javascript (jQuery, Sproutcore, JavascriptMVC, Pyjamas ...) or Adobe AIR, or...
Pulling data from Django is just a matter of setting up a syncing method, most probably using JSON, to fill up the browser local storage. So this is not django-specific at all.
If you want a standalone django app, this can be done if you bundle in a python desktop app django with a built-in server, that's another question
You could suggest the users to create web apps or use google gears instead... I don't know if this will fill the question, but, i'm in the same way. However, I'm developing an governamental solution who will run only for some kind of people, so, I can have a few control about the user's environment... All you need to do is to use jquery to detect if user has a live connection, or offer to the users a 'preferences' page where you define the behavior of the page itself...
Some info about offline cache: http://diveintohtml5.ep.io/offline.html
PS.: In another post in stackoverflow, I 've found another question: html5 offline caching with php driven sites... The last Post said:
HTML5 offline caching does not work to make your pages interact; it works only to make a
particular page available offline. Basically, it works on a URL-by-URL basis. If you
absolutely need offline functionality, you will be forced to make it work in JS.
Also, make sure your manifest includes all resources used by all pages.
Hope this helps!
Hope it helps!!
In one of my project I am trying to retrieve some content from Sitecore (multilingual). Can anyone here point me to the right direction/ best way of doing it? I have seen in some of the posts it’s mentioned about the web service or REST API. Can anyone point to a documentation or code snippet on how to do it?
This is quite a vast topic, but Sitecore doesn't limit you here. The general note about it is mentioned in paragraph 1.2.7 "Web Services, AJAX, and other Internet Interfaces" of this article.
I would recommend you to explore the standard Sitecore web service (it is present in any Sitecore release). Type http://yourhost/sitecore/shell/webservice/service.asmx to get an idea of what it can offer. It consists of just basic operations, but those are enough for the most of cases.
I want to implement a way of editing and create new word documents or excel documents via a web browser. I am looking to do something similar to google docs but implement a project management system to the software. All Ideas welcome.
Dean
TinyMCE or (F)CKEditor