New Example code browser / inspector

Wednesday, November 2nd, 2011|Uncategorized|by Romans

I’m pleased to announce the update of the “codepad”, which has been transformed into much more powerful Example browser and Object inspector.

http://codepad.agiletoolkit.org/

One awesome tool I’ve created in the process is the right-side “inspector”. Inspector examines the current page and objects on that page looping through them and finding objects which were added by the example. You can then mouse-over the objects to highlight the objects on the page or click to see source code of that class.

Enjoy all the examples and I plan to add more examples (from http://demo.atk4.com/) soon.

Download and Install Codepad

Would you like to look further into how codepad works? You can get it from github:

git clone git://github.com/atk4/atk4-codepad.git
git submodule init
git submodule update

Add your own examples into page/* to share them with your friends. You can also “fork” codepad and push back some of your own examples if you would like to see them in the Codepad.

4 Comments

Romans
Posted 3 months ago.
Fernando
Posted 3 months ago.

Hey Romans, since I’ve met Agile Toolkit you always suroprise me with very innovative ideas and developments!
The inspector is wonderful.
I’ll be spending some time with it.

Lovin’ #ATK4 :)

Papa_Gateau
Posted 1 month ago.

Hey Romans, in your comment you say we can use it in our own projects. How would we do that. How do we reference the inspector.php and SourceViewer.php in our projects.

Do we just add them into the addLocation array as if it were a addon?

Romans
Posted 1 month ago.

That should be as simple as dropping Inspector.php into your /lib/ folder and adding:

$toolbox=$this->add(‘Inspector’,null,’Toolbox’);

If there are any issues, let me know.

Write a comment