This is a pretty interesting concept, but the site doesn't do a good job of explaining exactly what it does. A realistic step-by-step example would help a lot. Is it doing some kind of static analysis, or is it looking at the object graph at some specified point in the program's execution? I think it would be really useful to have a tool that visualizes execution paths of programs to help you understand the general a…
Show HN: PojoViz – Visualize the structure of any JavaScript library, framework
11–20 of 21 posts
Re: Show HN: PojoViz – Visualize the structure of any JavaScript library, framework
#12Is this list "discovered" in some way, or is the list of Angular services to inspect hard-coded?
Re: Show HN: PojoViz – Visualize the structure of any JavaScript library, framework
#13I'm curious about the "Angular drawer settings" section in the settings page. Is this list "discovered" in some way, or is the list of Angular services to inspect hard-coded?
Re: Show HN: PojoViz – Visualize the structure of any JavaScript library, framework
#14Looks like you can only see existing libraries on cdnjs? The version of elm-runtime is about 4-5 versions old.
Yes, most of the external scripts I use in my projects are fetched from this place, I'll be glad to add the resource you want :)
I'm very curious what it looks like!
Re: Show HN: PojoViz – Visualize the structure of any JavaScript library, framework
#15Whew, maybe I'm just thick, but it took me four tries to select a library, export the global, and all I see is "uncaught exception: error getting the key".
hi there, could you tell me what library you selected please?
Re: Show HN: PojoViz – Visualize the structure of any JavaScript library, framework
#16Earlier quoted context omitted.
hi there, could you tell me what library you selected please?
Sure! I chose extjs -- it's a pretty big framework, so that may have something to do with it.
Re: Show HN: PojoViz – Visualize the structure of any JavaScript library, framework
#17Earlier quoted context omitted.
Yes, most of the external scripts I use in my projects are fetched from this place, I'll be glad to add the resource you want :)
http://elm-lang.org/elm-runtime.js I'm very curious what it looks like!
The good news: your library can now be rendered by pasting the location of your script in the input field The bad news: I see that elm has most of its code under private functions which can be seen after creating an instance, unfortunately PojoViz doesn't do this because it doesn't know how to, anyway if you want to add a custom analyzer is easy as pie, take a look at https://github.com/maurizzzio/PojoViz/tree/master/src/analyz... to see how to make custom analyzers
Re: Show HN: PojoViz – Visualize the structure of any JavaScript library, framework
#18Re: Show HN: PojoViz – Visualize the structure of any JavaScript library, framework
#19OT but I'm looking at jQuery and can see that some methods are defined on the jQuery object and some on jQuery.prototype. What's the rationale? Why not define all methods on the prototype?
Re: Show HN: PojoViz – Visualize the structure of any JavaScript library, framework
#20This is a pretty interesting concept, but the site doesn't do a good job of explaining exactly what it does. A realistic step-by-step example would help a lot. Is it doing some kind of static analysis, or is it looking at the object graph at some specified point in the program's execution? I think it would be really useful to have a tool that visualizes execution paths of programs to help you understand the general a…
Actually I wrote a step-by-step example of the Object function in the readme file, what PojoViz does is just make an analysis of the structure of the library without running any code from it, it's pretty simple but the results are kinds amazing like discovering that Function.prototype is actually a function O:, but your idea is awesome and should be the next step of PojoViz, thanks!