Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
[200] Server side javascript - C200
01-19-2011, 08:46 AM
Post: #1
Server side javascript - C200
I found server side javascript (ejscript)can be built on a linux, I have even tried on c200 and it works. So, it can be used in C200 to use all features of javascript because C200 built-in browser lacks lot of javascript features.. Anybody has a clue?

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730

oPKG Available Packages and Info:
400 Series - 200/300 Series - 100 Series
Find all posts by this user
01-19-2011, 02:31 PM
Post: #2
RE: Server side javascript - C200
Hmmm I don't have a clue, but I'm very interested.

So does what you tested support write-out features? Like cookies and such?

Pannasonic Plasma 50" -->HK254-->Emotiva xpa-5 & upa-2
A100 w/ 500gb HDD, A200 w/ mn100, c200 w/ 2.5" 250gb
Calm 2.1, YAMJ - Redefined 1.8a skin, Music Jukebox 8
WHS ex490 w/ 2.5tb's
Find all posts by this user
01-19-2011, 03:14 PM (This post was last modified: 01-19-2011 03:21 PM by dc11ab.)
Post: #3
RE: Server side javascript - C200
It looks like it can write out to files, from a peak on their forum and some of the documentation (here on cookie class, and xml).

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
01-19-2011, 11:37 PM (This post was last modified: 01-19-2011 11:40 PM by dc11ab.)
Post: #4
RE: Server side javascript - C200
Reading on, it really looks promising. But I've yet to understand if we have a Gaya-replacement, compliment, or not anything new in particular - which can't be done in PHP already.

So, if I get this right, with this we could potentially have pre-compiled (i.e. faster!), template-based, database-integrated (i.e. "dynamic") jukeboxes (and of course to other web apps) with a lot more possibilities and features than existing implementation? Right on the NMT too?

But i think the classic UI (pre-NMJ) is fed by piping the html files to gaya via /tmp/gaya_bc - so how could this be a game changer? Huh


http://ejscript.org/products/ejs/doc/ref...cture.html

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
01-20-2011, 02:37 AM
Post: #5
RE: Server side javascript - C200
I think even the grid can be populated in C200 itself using this http://www.treegrid.com/treegrid/www/

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730

oPKG Available Packages and Info:
400 Series - 200/300 Series - 100 Series
Find all posts by this user
01-20-2011, 02:58 AM (This post was last modified: 01-20-2011 02:59 AM by accident.)
Post: #6
RE: Server side javascript - C200
There's nothing going on in nmj that having an updated browser with better css and a host of ajax support wouldn't be able to do.. And the space for nmj in the firmware probably could have fit a php install.

This is interesting.. lets a javascript dev work on the server side stuff in the same language so your not bridging javascript user side with php server side.. however, it's how they talk to each other that I suspect is still that annoying missing simple command xmlhttp.

I look forward to hearing more about it as you explore.
Find all posts by this user
01-20-2011, 03:05 AM (This post was last modified: 01-20-2011 03:34 AM by lordy.)
Post: #7
RE: Server side javascript - C200
Unless I've got the wrong end of the stick it effectively replaces a backend language (eg php) with Javascript syntax. - ie for the on-the fly generation of "static" pages.

It does not provide client-side integration with the DOM - which seems to be the main area where features are missing with NMT/Gaya ?

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
01-20-2011, 03:16 AM
Post: #8
RE: Server side javascript - C200
There is a online demo for ejs http://embeddedjs.com/application.html

Sriram
C200/A400/RPi - Onkyo HT-S3400 - LG 47LV3730

oPKG Available Packages and Info:
400 Series - 200/300 Series - 100 Series
Find all posts by this user
01-20-2011, 03:28 AM (This post was last modified: 01-20-2011 03:29 AM by accident.)
Post: #9
RE: Server side javascript - C200
quick look and I see the xmlhttp requests to the server so it's still that fundemental browser side problem.. I think your QT +thta full screen browser has the potential that your hoping to find here. although future players I'm seeing new sdk elements for html5 browers and theres a lot of middleware companies with webkit ports and widget style extras..
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [200/300] Logitech Media Server (formerly SlimServer, SqueezeCenter, Squeezebox Server) v7.7.3 vaidyasr 71 21,445 04-07-2014 04:53 AM
Last Post: got_rice76
  [200] Airplay server for C200 and A100 popcornmix 343 194,704 01-06-2014 09:58 PM
Last Post: Bilbotorm
  [100/200/300/400] Firefly Media Server for Roku SoundBridge and iTunes vaidyasr 28 11,378 11-20-2013 11:28 PM
Last Post: sebpinski
  [200] [util] openvpn - C200/A200 - via ipkg xray 24 10,438 10-06-2013 01:32 PM
Last Post: Typh
  [200] Auto_Mount v0.4 - Script to Mount USB Drive with the Label - C200/A200 vaidyasr 130 49,682 07-25-2013 05:22 AM
Last Post: baboon
  [200/300/400] Squeezebox Server v7.6.1 - Updated 21st Sep vaidyasr 134 47,383 06-30-2013 10:36 AM
Last Post: Marlowe
  Is there a FTP CLIENT i can install on my C200? parpagnas 0 894 05-19-2013 12:45 PM
Last Post: parpagnas
  [100/200/300/400] How to install remote syslog server on NMT A-200 jwalczak 0 1,155 05-10-2013 05:00 PM
Last Post: jwalczak
  [400] how to convert scripts from c200 (html+php) to a400 (javascript or bash or ???) ? dmhwsm 0 1,439 02-10-2013 05:39 PM
Last Post: dmhwsm
  [200/300/400] fuppes - v0.660 UPnP A/V Media Server - Updated 15th Dec vaidyasr 14 6,833 01-01-2013 03:55 AM
Last Post: Uisge

Forum Jump: