Overhead and comparison with MVC frameworks

41 views
Skip to first unread message

Alec Taylor

unread,
May 1, 2013, 12:16:09 PM5/1/13
to proces...@googlegroups.com
I haven't touched ProcessingJS much for a few years; when Processing
was taught at my university.

Recently I have begun using Google AngularJS to consume my
Python-built RESTful JSON-talking API.

However I have a Data Analytics project which will require dynamic
graphs of all sorts,
e.g.: pie, line, plot, node-link[1], polar graphs[2] and those
big-data graphs showing interconnects + having node diameter related
to its relative value[3].

I will also have a <table> showing record and/or aggregate level
information and search functionality.

(this is a not-for-profit project FYI)

Would ProcessingJS be the right choice for this project, or would you
recommend another?

Thanks for all suggestions,

Alec Taylor

References:
[1] http://i.stack.imgur.com/x4Xar.png
[2] http://goldensoftware.com/images/lofthumbs/600x300/templates/golden_software/images/polar1s.gif
[3] http://gigaom2.files.wordpress.com/2012/03/canvas-copy.jpg

Benj. N. Sugar

unread,
May 1, 2013, 11:56:52 PM5/1/13
to Processing.js
I heart processing but it would not be my tool of choice for what you
are trying to do, at least not until someone creates library with a
higher level of abstraction. The reason why is because there are
other js visualization libraries that have abstracted the charts you
are wanting to design; all you have to do is type pie(data, value,
value) and wa-bam! you have a pie chart. To my knowledge no one has
created a visualization library for pjs. You'd be doing a lot of work
from scratch. Maybe you're the one to do it!

there is a good list of alternatives in another thread here:

http://groups.google.com/group/processingjs/browse_frm/thread/35a4477d3fb42fd4/21e2337515cd4035?lnk=gst&q=d3#21e2337515cd4035

I highly recommend D3. It has all of the graphs you asked about
already baked in along with lots of interactive functionality. Lots
of examples and tutorials. If you familiar with and enjoy using
jQuery, you might like it.

https://github.com/mbostock/d3/wiki/Gallery

You'll have to get used to a different way of thinking about your
visualization as d3 is a declarative language and asynchronous. Also,
it's fundamental "unit" in D3 is a datum whereas Processing's
fundamental unit is an object (conceptually speaking that is, in
reality I'm imagine d3 does have objects). You can read more about the
differences between D3 and PJS here:

D3 vs. PJS: https://groups.google.com/forum/#!topic/d3-js/KjGW94SyrAg/discussion

The only other one on that list that I toyed with is rapheal.js. I
think thats a good in between. It's API is processing like (circle(x,
w, w, h)) and you have to do for loops to draw your data, but it's
also containable and async in the way d3 is.

Let us know what you choose!
> [2]http://goldensoftware.com/images/lofthumbs/600x300/templates/golden_s...
> [3]http://gigaom2.files.wordpress.com/2012/03/canvas-copy.jpg

Brendan Oliver

unread,
May 2, 2013, 4:46:25 AM5/2/13
to proces...@googlegroups.com
I really like pjs but depending on your target audience it's not always
a valid option as it targets canvas and doesnt support some older and
popular browsers (IE <= 8). Which is a real shame.

I think this the same with D3 and IE <=8 isnt supported

I recently needed to build a graphing app and needed to support IE8 and
IE7 and finally went with RaphaelJS http://raphaeljs.com/ and tcpdf for
the ouput http://www.tcpdf.org/

HTH


Kind regards


Brendan Oliver

m: +44(0)7701 054 588
e: brendan...@flpdigital.com
w: http://www.flpdigital.com
videos: http://vimeo.com/brendanoliver/videos
twitter: http://twitter.com/BrendanOliver
linkedin: http://www.linkedin.com/in/brendanoliver

177 Wollaton Street
Nottingham
United Kingdom
NG1 5GE


Latest projects:
-------------------

The People's Zoetrope - FORMAT FESTIVAL DERBY
---------------------------------------------
http://www.flpdigital.com/the-peoples-zoetrope

"It’s an update of a Victorian moving-image viewer, and it’s compulsive." - Financial Times
http://www.ft.com/cms/s/2/383b246a-8a4e-11e2-9da4-00144feabdc0.html#axzz2O1PmTcbV


Jelly Lane Originals
----------------------------------------------------------------
Branding, Design and Development of eCommerce website
http://jellylaneclothing.com/


Particulation (W.I.P) - Dual Exhibition - Nottingham Playhouse
--------------------------------------------------------------
http://www.the-cutting-room.org/dual/boliver.html


The World's Largest Photo Booth at Nottingham Contemporary
----------------------------------------------------------
Over 16,000 photographs created in the booth during Summer 2012
See them Here:
http://www.flickr.com/photos/nottingam_contemporary/sets/72157631286210102/
http://www.flpdigital.com/the-worlds-biggest-photo-booth-at-nottingham-contemporary


AnimatedMe - Spark Arts Festival at Phoenix Square
--------------------------------------------------
Be transformed into the characters you create!
https://vimeo.com/43678878


Melanix Execute - Collaboration with Marilene Oliver and Canadian choreographer Isabelle Van Grimde:
---------------------------------------------------------------------------------------------------
Galerie UQAM, Montreal, Canada - May 2012
http://www.flpdigital.com/melanix-execute
http://www.fta.qc.ca/en/shows/2012/the-body-in-question-s


The.. Interactive Installation:
-------------------------------------------------
Future Everything Manchester - 16 May 2012 - 10 June 2012 futureeverything.org
Fiber Festival Amsterdam - 24 March 2012 fiber-space.nl
ISMAR@SHIFT Basel Switzerland - 27-30 October 2011 www.shiftfestival.ch/en/shift-2011/program/ismarshift/



Internet E-mail Confidentiality: This E-Mail may contain confidential and/or privileged information. It is only intended for the use of the addressee indicated in this message. If you are not an intended addressee of this email (or responsible for delivery of the message to such person), the disclosure, copying or delivering of the contents of this email to anyone else is strictly prohibited and may be unlawful. If you receive this e-mail by mistake destroy the message and please notify us immediately by e-mail. Please advise immediately if you or your employer do not consent to Internet E-Mail for messages of this type. Information or opinions in this message that do not relate to this business shall be treated as neither given or endorsed by it. Please note that whilst we try to ensure that messages and attachments are virus free, we cannot accept responsibility for situations where this is not the case.

James Brink

unread,
May 2, 2013, 10:56:35 AM5/2/13
to proces...@googlegroups.com
Thanks for the corrections. I did a quick fix for the Tacos and Talent
Contest and included the location of the parts swap in the events
listing. Fixing the map for the parts swap will take more time.

Also corrected the spelling of "Klickitat" in the events listing.

http://mossyrockfestivals.org/maps.html
http://mossyrockfestivals.org/events.html
http://mossyrockfestivals.org/talentContest.html

With regard to overflow parking, I occurred to me that they may just let
people park on the grass at the park.

Jim
> "It�s an update of a Victorian moving-image viewer, and it�s
Reply all
Reply to author
Forward
0 new messages