Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #19158 > unrolled thread
| Started by | ericgorr@gmail.com |
|---|---|
| First post | 2013-04-08 12:26 -0700 |
| Last post | 2013-04-09 00:40 +0200 |
| Articles | 6 on this page of 26 — 7 participants |
Back to article view | Back to comp.lang.javascript
Seeking Javascript framework for standalone app ericgorr@gmail.com - 2013-04-08 12:26 -0700
Re: Seeking Javascript framework for standalone app "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-04-08 22:25 +0200
Re: Seeking Javascript framework for standalone app Eric Gorr <ericgorr@gmail.com> - 2013-04-08 14:06 -0700
Re: Seeking Javascript framework for standalone app Stefan Weiss <krewecherl@gmail.com> - 2013-04-08 23:34 +0200
Re: Seeking Javascript framework for standalone app Tim Streater <timstreater@greenbee.net> - 2013-04-08 22:38 +0100
Re: Seeking Javascript framework for standalone app Eric Gorr <ericgorr@gmail.com> - 2013-04-08 14:48 -0700
Re: Seeking Javascript framework for standalone app Tim Streater <timstreater@greenbee.net> - 2013-04-08 23:07 +0100
Re: Seeking Javascript framework for standalone app Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-09 00:20 +0200
Re: Seeking Javascript framework for standalone app Tim Streater <timstreater@greenbee.net> - 2013-04-08 23:31 +0100
Re: Seeking Javascript framework for standalone app Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-09 01:07 +0200
Re: Seeking Javascript framework for standalone app Eric Gorr <ericgorr@gmail.com> - 2013-04-08 16:28 -0700
Re: Seeking Javascript framework for standalone app Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-09 01:45 +0200
Re: Seeking Javascript framework for standalone app Eric Gorr <ericgorr@gmail.com> - 2013-04-08 16:52 -0700
Re: Seeking Javascript framework for standalone app Eric Gorr <ericgorr@gmail.com> - 2013-04-08 14:47 -0700
Re: Seeking Javascript framework for standalone app Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-08 23:58 +0200
Re: Seeking Javascript framework for standalone app x@x.com (znôrt) - 2013-04-08 23:50 +0200
Re: Seeking Javascript framework for standalone app Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-09 00:03 +0200
Re: Seeking Javascript framework for standalone app Eric Gorr <ericgorr@gmail.com> - 2013-04-08 15:06 -0700
Re: Seeking Javascript framework for standalone app Tim Streater <timstreater@greenbee.net> - 2013-04-08 23:22 +0100
Re: Seeking Javascript framework for standalone app Eric Gorr <ericgorr@gmail.com> - 2013-04-08 15:32 -0700
Re: Seeking Javascript framework for standalone app x@x.com (znôrt) - 2013-04-09 00:39 +0200
Re: Seeking Javascript framework for standalone app Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-09 00:54 +0200
Re: Seeking Javascript framework for standalone app x@x.com (znôrt) - 2013-04-09 01:25 +0200
Re: Seeking Javascript framework for standalone app Eric Gorr <ericgorr@gmail.com> - 2013-04-08 15:56 -0700
Re: Seeking Javascript framework for standalone app x@x.com (znôrt) - 2013-04-09 01:25 +0200
Re: Seeking Javascript framework for standalone app Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-04-09 00:40 +0200
Page 2 of 2 — ← Prev page 1 [2]
| From | x@x.com (znôrt) |
|---|---|
| Date | 2013-04-09 00:39 +0200 |
| Message-ID | <87vc7w8x5n.fsf@xopzuey.i-did-not-set--mail-host-address--so-tickle-me> |
| In reply to | #19168 |
Eric Gorr <ericgorr@gmail.com> writes: > The left most column lists the folders contains the files a user wants > to view. The middle column displays the files contained within the > currently selected folder of the left most column. The rightmost > column displays the file currently selected in the middle column. i do not know of any crossbrowser way of accessing the filesystem *folders* in that way, but if you know the folder structure and contents in advance you can easily get to the file contents with a plain XMLHttpRequest (as if it were any web resource). you could, however, have the folder and file listings scripted in advance for every installation. alternatively, you could go with browser specific functionality like IE's FileSystemObject for this. but be aware a kitty will die if you do this. > And, can one setup a standalone app with AngularJS? Is there a > tutorial demonstrating how to do this? given your requirements you could do that in plain javascript with very little coding, really. but yes. AngularJS is basically client side and you could solve that easily once you got the folder thing sorted out. there's a quick introductory video tut on their page http://angularjs.org/
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2013-04-09 00:54 +0200 |
| Message-ID | <3873754.f9gSJeEOaO@PointedEars.de> |
| In reply to | #19174 |
znôrt wrote: > Eric Gorr <ericgorr@gmail.com> writes: >> The left most column lists the folders contains the files a user wants >> to view. The middle column displays the files contained within the >> currently selected folder of the left most column. The rightmost >> column displays the file currently selected in the middle column. > > i do not know of any crossbrowser way of accessing the filesystem > *folders* in that way, You do not appear to know anything at all. You do not even know that you don't which is, of course, the core of the problem. > but if you know the folder structure and contents in advance you can > easily get to the file contents with a plain XMLHttpRequest (as if it > were any web resource). Not everywhere anymore. > you could, however, have the folder and file listings scripted in advance > for every installation. alternatively, you could go with browser specific > functionality like IE's FileSystemObject for this. but be aware a > kitty will die if you do this. Instead of making bad jokes you should have told about restrictions with file:// in MSHTML. But then again, what else to expect from you. >> And, can one setup a standalone app with AngularJS? Is there a >> tutorial demonstrating how to do this? > > given your requirements you could do that in plain javascript with very > little coding, really. but yes. AngularJS is basically client side and > you could solve that easily once you got the folder thing sorted > out. there's a quick introductory video tut on their page > http://angularjs.org/ Curious that Google would ship such obvious junk requiring proprietary attributes when it was their Ian Hickson who helped editing HTML5 so that it supported custom attributes with “data-” prefix as a standards-compliant approach. Curioser still that their example claims to be HTML5 when it clearly is not Valid. And if that was not bad enough, they are using jQuery. I would not be too surprised if Google Groups – deeply flawed both on the client and server side – was written using AngularJS. But then again, what else to expect from you. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | x@x.com (znôrt) |
|---|---|
| Date | 2013-04-09 01:25 +0200 |
| Message-ID | <87ip3w8v09.fsf@xopzuey.i-did-not-set--mail-host-address--so-tickle-me> |
| In reply to | #19176 |
Thomas 'PointedEars' Lahn <PointedEars@web.de> writes: > But then again, what else to expect from you. shut up already, dwight.
[toc] | [prev] | [next] | [standalone]
| From | Eric Gorr <ericgorr@gmail.com> |
|---|---|
| Date | 2013-04-08 15:56 -0700 |
| Message-ID | <e7e8edfc-04de-4702-80a7-9db1b8de8bf3@googlegroups.com> |
| In reply to | #19174 |
On Monday, April 8, 2013 6:39:32 PM UTC-4, znôrt wrote: > Eric Gorr <ericgorr@...> writes: > > > > > The left most column lists the folders contains the files a user wants > > > to view. The middle column displays the files contained within the > > > currently selected folder of the left most column. The rightmost > > > column displays the file currently selected in the middle column. > > > > i do not know of any crossbrowser way of accessing the filesystem > *folders* in that way, but if you know the folder structure and contents > in advance you can easily get to the file contents with a plain > XMLHttpRequest (as if it were any web resource). you could, however, > have the folder and file listings scripted in advance for every > installation. alternatively, you could go with browser specific > functionality like IE's FileSystemObject for this. but be aware a > kitty will die if you do this. I am speaking of files and folders in a more generic sense. I just need to setup a data store that the app can load which a framework like SproutCore allows. > > And, can one setup a standalone app with AngularJS? Is there a > > tutorial demonstrating how to do this? > > given your requirements you could do that in plain javascript with very > little coding, really. Ya, the more I think about this, the more I would agree. Using a framework might be overkill for this, but then learning a framework tends to go better when one can start with something simple and the benefits of knowing a framework well can pay off when a more complex problem comes along. > but yes. AngularJS is basically client side and > you could solve that easily once you got the folder thing sorted > out. there's a quick introductory video tut on their page > > http://angularjs.org/ I went to the AngularJS chatroom on freenode and asked about this as well. Yes, it does appear to be possible, but it looks like it would also involve using node.js as well.
[toc] | [prev] | [next] | [standalone]
| From | x@x.com (znôrt) |
|---|---|
| Date | 2013-04-09 01:25 +0200 |
| Message-ID | <87mwt88v1d.fsf@xopzuey.i-did-not-set--mail-host-address--so-tickle-me> |
| In reply to | #19177 |
Eric Gorr <ericgorr@gmail.com> writes: > I am speaking of files and folders in a more generic sense. I just > need to setup a data store that the app can load which a framework > like SproutCore allows. see? you said you needed no persistent storage! :-) but yes it would be easy to layout such a tree structure with the individual filenames as leaves in, for example, json or even as a .js import, separate for each install. maybe generated with a script from the folder structure. that's still not a proper data store, but it would do the job. > learning a framework tends to go better when one can start with > something simple and the benefits of knowing a framework well can pay > off when a more complex problem comes along. true. but keep in mind some frameworks tend to get messy or in the way when things get complicated. > but it looks like it would also involve using node.js as well. only if you would want to access the file system with nodejs' apis. that's in fact what i would have proposed if installing extra components were an option.
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2013-04-09 00:40 +0200 |
| Message-ID | <2233097.9UYHrN4MtA@PointedEars.de> |
| In reply to | #19168 |
Eric Gorr wrote: > […] the requirements for this app require that it be runnable on a machine > without a webserver, without an internet connection, and from the desktop > by double-clicking on a file such as an index.html. I would suggest a link on the desktop to the HTML document in question, unless you want to have all the application code in one HTML document. >> as an example if your app needs some sort of persistent storage, running >> directly off the filesystem will limit the tools at your disposal or >> make it dependent on browser specific functionality. > > I do not. What I need to do is rather simple: > > (1) It is an app that simply displays data. There is no editing. There may > be some, limited, sorting. No framework needed, then. > (2) The data it displays is fixed and will be entirely contained within > the app folder. It will never change. However, different installations of > the app will contain a different set of data. A single machine may contain > multiple installations. Use relative URIs to the .js resource containing the data, then. > (3) The look and operation of the app is similar to the OS X mail.app. > Essentially, there are three columns of data and there will never be any > more. The left most column lists the folders contains the files a user > wants to view. The middle column displays the files contained within the > currently selected folder of the left most column. The rightmost column > displays the file currently selected in the middle column. No framework needed. >> as far as UI frameworks go, I would definitely recommend AngularJS. > > And, can one setup a standalone app with AngularJS? Is there a tutorial > demonstrating how to do this? You cannot only *post to Usenet* on Google, you know. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.lang.javascript
csiph-web