GTTools and Mongo

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

GTTools and Mongo

Torsten Bergmann
After loading MongoTalk or VoyageMongo in Pharo 4 you can additionally
load the package: "Mongo-Pharo-Tools" from mongotalk repo on SmalltalkHub.

This way you can browse your mongo database (collections and documents)
directly from within Pharo using GTInspector tools (see screenshot).

Just by adding two methods - nice!

Bye
T.

mongo.png (171K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GTTools and Mongo

Tudor Girba-2
Nice job!

Doru

On Tue, Mar 10, 2015 at 10:20 AM, Torsten Bergmann <[hidden email]> wrote:
After loading MongoTalk or VoyageMongo in Pharo 4 you can additionally
load the package: "Mongo-Pharo-Tools" from mongotalk repo on SmalltalkHub.

This way you can browse your mongo database (collections and documents)
directly from within Pharo using GTInspector tools (see screenshot).

Just by adding two methods - nice!

Bye
T.



--

"Every thing has its own flow"
Reply | Threaded
Open this post in threaded view
|

Re: GTTools and Mongo

demarey
In reply to this post by Torsten Bergmann
Really nice addition!

Thanks

Le 10 mars 2015 à 10:20, Torsten Bergmann a écrit :

> After loading MongoTalk or VoyageMongo in Pharo 4 you can additionally
> load the package: "Mongo-Pharo-Tools" from mongotalk repo on SmalltalkHub.
>
> This way you can browse your mongo database (collections and documents)
> directly from within Pharo using GTInspector tools (see screenshot).
>
> Just by adding two methods - nice!
>
> Bye
> T.
> <mongo.png>


smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GTTools and Mongo

EstebanLM
In reply to this post by Torsten Bergmann
cool!

> On 10 Mar 2015, at 10:20, Torsten Bergmann <[hidden email]> wrote:
>
> After loading MongoTalk or VoyageMongo in Pharo 4 you can additionally
> load the package: "Mongo-Pharo-Tools" from mongotalk repo on SmalltalkHub.
>
> This way you can browse your mongo database (collections and documents)
> directly from within Pharo using GTInspector tools (see screenshot).
>
> Just by adding two methods - nice!
>
> Bye
> T.
> <mongo.png>


Reply | Threaded
Open this post in threaded view
|

Re: GTTools and Mongo

jfabry
In reply to this post by Torsten Bergmann

Excellent !!

> On Mar 10, 2015, at 06:20, Torsten Bergmann <[hidden email]> wrote:
>
> After loading MongoTalk or VoyageMongo in Pharo 4 you can additionally
> load the package: "Mongo-Pharo-Tools" from mongotalk repo on SmalltalkHub.
>
> This way you can browse your mongo database (collections and documents)
> directly from within Pharo using GTInspector tools (see screenshot).
>
> Just by adding two methods - nice!
>
> Bye
> T.
> <mongo.png>



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


Reply | Threaded
Open this post in threaded view
|

Re: GTTools and Mongo

Torsten Bergmann
In reply to this post by Tudor Girba-2
I spend some more minutes. So using GTTools in Pharo 4beta and a few more methods,
pragmas, icons later we now have:

    MongoBrowser open

which I also made available in the Tools menu. If you want to try out go to
"Tools" -> "ConfigurationBrowser" and load MongoTalk in Pharo 4beta.

See attached screenshot.

This makes:

  3 methods as class extensions for a custom GT inspector on each mongo domain object (mongo, database, collection)
  4 methods to provide the 4 icons
  1 method to provide the pragma for inclusion into world menu (#menuCommandOn:)
  1 method to open

which makes 9 methods to build a Mongo database UI browser in Pharo Smalltalk! Without the icons and menu item only 4 !!!
Hey - Pharo rocks already and with GTTools we get even more empowered!

Thanks to anyone who contributed to MongoTalk (especially Kent Beck for the initial implementation).

Have fun
T.


mongo2.png (113K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GTTools and Mongo

Ben Coman
A blog article on that would be cool :)

On Wed, Mar 11, 2015 at 4:14 AM, Torsten Bergmann <[hidden email]> wrote:
I spend some more minutes. So using GTTools in Pharo 4beta and a few more methods,
pragmas, icons later we now have:

        MongoBrowser open

which I also made available in the Tools menu. If you want to try out go to
"Tools" -> "ConfigurationBrowser" and load MongoTalk in Pharo 4beta.

See attached screenshot.

This makes:

  3 methods as class extensions for a custom GT inspector on each mongo domain object (mongo, database, collection)
  4 methods to provide the 4 icons
  1 method to provide the pragma for inclusion into world menu (#menuCommandOn:)
  1 method to open

which makes 9 methods to build a Mongo database UI browser in Pharo Smalltalk! Without the icons and menu item only 4 !!!
Hey - Pharo rocks already and with GTTools we get even more empowered!

Thanks to anyone who contributed to MongoTalk (especially Kent Beck for the initial implementation).

Have fun
T.


Reply | Threaded
Open this post in threaded view
|

Re: GTTools and Mongo

Tudor Girba-2
In reply to this post by Torsten Bergmann
He he.

When the cost of building a tool gets too low, developers feel compelled to work on embellishments just to feel like they did something :).

And I see you used yet another undocumented feature: filtering the inspector :)

Nice job!

Doru



On Tue, Mar 10, 2015 at 9:14 PM, Torsten Bergmann <[hidden email]> wrote:
I spend some more minutes. So using GTTools in Pharo 4beta and a few more methods,
pragmas, icons later we now have:

        MongoBrowser open

which I also made available in the Tools menu. If you want to try out go to
"Tools" -> "ConfigurationBrowser" and load MongoTalk in Pharo 4beta.

See attached screenshot.

This makes:

  3 methods as class extensions for a custom GT inspector on each mongo domain object (mongo, database, collection)
  4 methods to provide the 4 icons
  1 method to provide the pragma for inclusion into world menu (#menuCommandOn:)
  1 method to open

which makes 9 methods to build a Mongo database UI browser in Pharo Smalltalk! Without the icons and menu item only 4 !!!
Hey - Pharo rocks already and with GTTools we get even more empowered!

Thanks to anyone who contributed to MongoTalk (especially Kent Beck for the initial implementation).

Have fun
T.




--

"Every thing has its own flow"
Reply | Threaded
Open this post in threaded view
|

Re: GTTools and Mongo

philippeback

And now for 2 images...

Pharo 4 for tools like this.
Pharo 3 for production code...

Any way to get this on 3 you think?
MongoTalk works fine there.

Am switching betweeen Pharo and Robomongo all the time here :-)

FWIW Mapless and its mongo support is quite awesome. I am using it for a feature and it has tremendous potential.

Your tool will be a great inspiration for builing one for it.

Phil



Le 11 mars 2015 07:49, "Tudor Girba" <[hidden email]> a écrit :
He he.

When the cost of building a tool gets too low, developers feel compelled to work on embellishments just to feel like they did something :).

And I see you used yet another undocumented feature: filtering the inspector :)

Nice job!

Doru



On Tue, Mar 10, 2015 at 9:14 PM, Torsten Bergmann <[hidden email]> wrote:
I spend some more minutes. So using GTTools in Pharo 4beta and a few more methods,
pragmas, icons later we now have:

        MongoBrowser open

which I also made available in the Tools menu. If you want to try out go to
"Tools" -> "ConfigurationBrowser" and load MongoTalk in Pharo 4beta.

See attached screenshot.

This makes:

  3 methods as class extensions for a custom GT inspector on each mongo domain object (mongo, database, collection)
  4 methods to provide the 4 icons
  1 method to provide the pragma for inclusion into world menu (#menuCommandOn:)
  1 method to open

which makes 9 methods to build a Mongo database UI browser in Pharo Smalltalk! Without the icons and menu item only 4 !!!
Hey - Pharo rocks already and with GTTools we get even more empowered!

Thanks to anyone who contributed to MongoTalk (especially Kent Beck for the initial implementation).

Have fun
T.




--

"Every thing has its own flow"
Reply | Threaded
Open this post in threaded view
|

Re: GTTools and Mongo

demarey
Hi Phil,

Le 11 mars 2015 à 08:48, [hidden email] a écrit :

FWIW Mapless and its mongo support is quite awesome. I am using it for a feature and it has tremendous potential.


I would be interested to have a small comparison between voyage and mapless (pros and cons). Do you have enough feedback to list pros/cons for each library?

Christophe

smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GTTools and Mongo

Tudor Girba-2
In reply to this post by philippeback
Hi Phil,

The extensions should without problems on the stable version of GTInspector for Pharo 3.

Cheers,
Doru


On Wed, Mar 11, 2015 at 8:48 AM, [hidden email] <[hidden email]> wrote:

And now for 2 images...

Pharo 4 for tools like this.
Pharo 3 for production code...

Any way to get this on 3 you think?
MongoTalk works fine there.

Am switching betweeen Pharo and Robomongo all the time here :-)

FWIW Mapless and its mongo support is quite awesome. I am using it for a feature and it has tremendous potential.

Your tool will be a great inspiration for builing one for it.

Phil



Le 11 mars 2015 07:49, "Tudor Girba" <[hidden email]> a écrit :

He he.

When the cost of building a tool gets too low, developers feel compelled to work on embellishments just to feel like they did something :).

And I see you used yet another undocumented feature: filtering the inspector :)

Nice job!

Doru



On Tue, Mar 10, 2015 at 9:14 PM, Torsten Bergmann <[hidden email]> wrote:
I spend some more minutes. So using GTTools in Pharo 4beta and a few more methods,
pragmas, icons later we now have:

        MongoBrowser open

which I also made available in the Tools menu. If you want to try out go to
"Tools" -> "ConfigurationBrowser" and load MongoTalk in Pharo 4beta.

See attached screenshot.

This makes:

  3 methods as class extensions for a custom GT inspector on each mongo domain object (mongo, database, collection)
  4 methods to provide the 4 icons
  1 method to provide the pragma for inclusion into world menu (#menuCommandOn:)
  1 method to open

which makes 9 methods to build a Mongo database UI browser in Pharo Smalltalk! Without the icons and menu item only 4 !!!
Hey - Pharo rocks already and with GTTools we get even more empowered!

Thanks to anyone who contributed to MongoTalk (especially Kent Beck for the initial implementation).

Have fun
T.




--

"Every thing has its own flow"



--

"Every thing has its own flow"
Reply | Threaded
Open this post in threaded view
|

Re: GTTools and Mongo

Torsten Bergmann
In reply to this post by Tudor Girba-2
Ben wrote:
>A blog article on that would be cool :)

This was already in the pipe:  https://medium.com/@astares/building-a-mongo-browser-in-pharo-fe2104052843
but dont tell anyone otherwise our community will be even cooler ;)

Tudor wrote:
>And I see you used yet another undocumented feature: filtering the
>inspector :)

Sorry for making this more documented ;)

Thanks to Sven - his articles are inspiring!

Bye
T.

Reply | Threaded
Open this post in threaded view
|

Re: GTTools and Mongo

Tudor Girba-2
Hi,

On Wed, Mar 11, 2015 at 7:41 PM, Torsten Bergmann <[hidden email]> wrote:
Ben wrote:
>A blog article on that would be cool :)

This was already in the pipe:  https://medium.com/@astares/building-a-mongo-browser-in-pharo-fe2104052843
but dont tell anyone otherwise our community will be even cooler ;)

Beautiful :)
 

Tudor wrote:
>And I see you used yet another undocumented feature: filtering the
>inspector :)

Sorry for making this more documented ;)

:). Looking at it, I see you already are using the icons inspection as well. Man, nothing escapes you :)

 
Thanks to Sven - his articles are inspiring!

Indeed.

Cheers,
Doru


 
Bye
T.



--

"Every thing has its own flow"