Re: [CODE4LIB] server side vs client side

2011-12-01 Thread Nate Hill
Other Nate, this is *exactly* the advice I needed. indeed, i want to interact with the circles. Much thanks! N On Thu, Dec 1, 2011 at 10:59 AM, Nate Vack wrote: > On Thu, Dec 1, 2011 at 12:35 PM, Nate Hill > wrote: > > I should have provided a bit more information here. > > > > Here's a rough

Re: [CODE4LIB] server side vs client side

2011-12-01 Thread Joe Hourcle
On Dec 1, 2011, at 12:49 PM, Nate Hill wrote: > As I was struggling with the syntax trying to figure out how to use > javascript to load a .txt file, process it and then spit out some html on a > web page, I suddenly found myself asking why I was trying to do it with > javascript rather than PHP.

Re: [CODE4LIB] server side vs client side

2011-12-01 Thread Nate Vack
On Thu, Dec 1, 2011 at 12:35 PM, Nate Hill wrote: > I should have provided a bit more information here. > > Here's a rough in-progress view of what I'm up to. > http://www.natehill.net/loadsketch/donerightclasses.html > > I was using processing.js to read a file and then visualize some of the > da

Re: [CODE4LIB] server side vs client side

2011-12-01 Thread Jonathan Rochkind
Sometimes asking the question helps you arrive at the answer, especially when you have to explain to us people without the context why our answers weren't what you were asking! I am only vaguely familiar (as in "heard of it") with processing.js. Is it typically run client-side in the browser,

Re: [CODE4LIB] server side vs client side

2011-12-01 Thread Nate Hill
I should have provided a bit more information here. Here's a rough in-progress view of what I'm up to. http://www.natehill.net/loadsketch/donerightclasses.html I was using processing.js to read a file and then visualize some of the data... you can see the circles are being generated from the valu

Re: [CODE4LIB] server side vs client side

2011-12-01 Thread Jon Gorman
On Thu, Dec 1, 2011 at 11:49 AM, Nate Hill wrote: > As I was struggling with the syntax trying to figure out how to use > javascript to load a .txt file, process it and then spit out some html on a > web page, I suddenly found myself asking why I was trying to do it with > javascript rather than P

Re: [CODE4LIB] server side vs client side

2011-12-01 Thread Ken Irwin
sier to do in the browser. Ken -Original Message- From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Nate Hill Sent: Thursday, December 01, 2011 12:49 PM To: CODE4LIB@LISTSERV.ND.EDU Subject: [CODE4LIB] server side vs client side As I was struggling with the syntax tr

Re: [CODE4LIB] server side vs client side

2011-12-01 Thread Jonathan Rochkind
Well, you need to use javascript if you want it to run in a browser. So that's one reason to pick it, and the main reason people pick it for it's most popular uses. It will be very difficult to get javascript running in a browser to do what you just said though. Not sure if you were running y

[CODE4LIB] server side vs client side

2011-12-01 Thread Nate Hill
As I was struggling with the syntax trying to figure out how to use javascript to load a .txt file, process it and then spit out some html on a web page, I suddenly found myself asking why I was trying to do it with javascript rather than PHP. Is there a right/wrong or better/worse approach for do