Re: [Pharo-users] best solution to store data

2014-09-02 Thread Roelof Wobben
I know what I want. The steps that I have to take. 1) Users and user management. User has username and password. 2) entering and editing plans. Plans has sort and amount. 3) entering and editing way of payment. this has name and sort payment 4) Entering and editing customers. Customers has

[Pharo-users] Moose browsers: Updating an object value from a text pane and from an emergent window

2014-09-02 Thread Offray Vladimir Luna Cárdenas
Hi, I'm trying to restate my question to see if I have more luck with any answer this time. I'm making advances with an outliner like app for writing and now I can add nodes move them and store them in the really nice STON format. But because information on trees is not editable, I would lik

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Stuart Herring
On 2 September 2014 22:02, stepharo wrote: > For such quantity of information my impression is that it is oversized. May > be Chris Mueller will reply. > Now Magma does not work in Pharo (or may be it does but I do not know). Magma actually scales down pretty well, and given how ridiculously easy

Re: [Pharo-users] Date text converter/formatter

2014-09-02 Thread Sean P. DeNigris
Sven Van Caekenberghe-2 wrote > Maybe you got the example and the input mixed up ? Oh yeah, I did, but even the example in that case is ambiguous, no? (ZTimestampFormat fromString: '02/03/01 (16:05:06)') parse: '10/10/10 (12:01:01)'. How does it decide whether it's American i.e.

Re: [Pharo-users] Help to get the classes/methods that were updated after compilation.

2014-09-02 Thread Camille Teruel
On 2 sept. 2014, at 23:29, Pernet Alexis wrote: > Hello! Hi Alexis, > So, i need to know what classes/methods have been changed so that i can run > the critic browser tests on the fly. I remember there's a way to do it, but > not exactly how to use it. > Can i have some help with that? (or

Re: [Pharo-users] Help to get the classes/methods that were updated after compilation.

2014-09-02 Thread Yuriy Tymchuk
Hi, for now I’ve started to develop a script which will generate new rules based on existing ones. I encountered some problems today, so in the end I think I’ll trash some of them for now. If you have some knowledge about environments it can be interesting, because I don’t see a reason for the

[Pharo-users] Help to get the classes/methods that were updated after compilation.

2014-09-02 Thread Pernet Alexis
Hello! So, i need to know what classes/methods have been changed so that i can run the critic browser tests on the fly. I remember there's a way to do it, but not exactly how to use it. Can i have some help with that? (or a link to somewhere that is explained) Also, i need a way to gather envi

Re: [Pharo-users] Date text converter/formatter

2014-09-02 Thread Sven Van Caekenberghe
On 02 Sep 2014, at 23:15, Sean P. DeNigris wrote: > Esteban A. Maringolo wrote >> Curiosity #1: Why did you use an example date string instead of using >> regular patterns like , dd, hh/hh24, etc? > > I like the example concept because the user has less to remember (even if > those date pat

Re: [Pharo-users] Date text converter/formatter

2014-09-02 Thread Sean P. DeNigris
Esteban A. Maringolo wrote > Curiosity #1: Why did you use an example date string instead of using > regular patterns like , dd, hh/hh24, etc? I like the example concept because the user has less to remember (even if those date patterns are pretty well-known). Although, I noticed an example da

Re: [Pharo-users] Date text converter/formatter

2014-09-02 Thread Sven Van Caekenberghe
On 02 Sep 2014, at 21:39, Esteban A. Maringolo wrote: > Thank you. It is certainly better than the base parser. > But for formats I can't pass Date objects to #format:, I have to > convert them to ZTimestamp before. (ZTimestampFormat fromString: '2001/02/03') format: Date today. Can you give a

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Alain Rastoul
Forgort to say: It's great to see Pharo apps coming to business world ! keep on. I wish you succeed Alain

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Alain Rastoul
Hi Roelof, This is a very broad question with a lot of options, there is no short answer. If I had to choose a relational database approach from the beginning, I would choose Sqlite, it's a very nice db, small, fast, works very well with Pharo (I used it some time ago with FFI, didn't know a

Re: [Pharo-users] [Article] Reddit.st - In 10 Cool Pharo Classes

2014-09-02 Thread Johan Fabry
On Sep 2, 2014, at 2:03 PM, Sven Van Caekenberghe wrote: > > On 02 Sep 2014, at 18:54, Sean P. DeNigris wrote: > >> jfabry wrote >>> the tutorials are missing the basic explanation of the use of workspaces >>> and browsers, and I don’t know where to get some documentation that treats >>> just

Re: [Pharo-users] Date text converter/formatter

2014-09-02 Thread Esteban A. Maringolo
Thank you. It is certainly better than the base parser. But for formats I can't pass Date objects to #format:, I have to convert them to ZTimestamp before. Curiosity #1: Why did you use an example date string instead of using regular patterns like , dd, hh/hh24, etc? Regards! Esteban A. Marin

Re: [Pharo-users] Date text converter/formatter

2014-09-02 Thread Sven Van Caekenberghe
Check out ZTimestampFormatter (load ConfigurationOfZTimestamp). From the class comment: === I am ZTimestampFormat, an implementation of a textual representation for a timestamp, date or time that can be used for formatting or parsing. You instanciate me by specifying the textual format by examp

[Pharo-users] Date text converter/formatter

2014-09-02 Thread Esteban A. Maringolo
Does exist an "user friendly" Date text converter and/or formatter package? I'd like to specify the format of certain dates, in the way you normally do this, it is... with a string such as 'dd/mm/' or 'dd/mmm/'. Date's #printOn:format: expects a different parameter, which seems really co

Re: [Pharo-users] [Article] Reddit.st - In 10 Cool Pharo Classes

2014-09-02 Thread Sven Van Caekenberghe
On 02 Sep 2014, at 18:54, Sean P. DeNigris wrote: > jfabry wrote >> the tutorials are missing the basic explanation of the use of workspaces >> and browsers, and I don’t know where to get some documentation that treats >> just that. Any pointers to that kind of material? > > PBE? Yes, I would

Re: [Pharo-users] Tide installation

2014-09-02 Thread Tim Mackinnon
You also know about the and pragma’s as well right? They were explained in the Esug session, and show up in the Counter code. Tim On 2 Sep 2014, at 18:03, Bernat Romagosa wrote: > Thanks Tim, I'll take a look at it. Unfortunately I couldn't attend this year > :( > > In the meantime I've ju

Re: [Pharo-users] Tide installation

2014-09-02 Thread Bernat Romagosa
Thanks Tim, I'll take a look at it. Unfortunately I couldn't attend this year :( In the meantime I've just found out where the counter entry point is defined: TDDispatcher >> setupDefault > default := self new. > default > registerHandler: ((TDFileHandler path: 'tide') > directoryPath: '.'; > y

Re: [Pharo-users] Tide installation

2014-09-02 Thread Tim Mackinnon
You can try watching the ESUG video from this year on: http://goo.gl/E1VF53 The presentation that Esteban gave was great - and it also inspired me to look at this some more too. Tim On 2 Sep 2014, at 17:46, Bernat Romagosa wrote: > Hey, it looks really nice. Is there any documentation aroun

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Stephan Eggermont
Roelof wrote >I think I wil go for a Magma or a xml approach. http://wiki.squeak.org/squeak/2665 Magma might be overkill for this amount of data. Magma needs an upgrade for recent Pharo. Chris uses it on Squeak and found maintaining it on Pharo too much work. With XML you'll need to do more wor

Re: [Pharo-users] [Article] Reddit.st - In 10 Cool Pharo Classes

2014-09-02 Thread Sean P. DeNigris
jfabry wrote > the tutorials are missing the basic explanation of the use of workspaces > and browsers, and I don’t know where to get some documentation that treats > just that. Any pointers to that kind of material? PBE? - Cheers, Sean -- View this message in context: http://forum.world.s

Re: [Pharo-users] Tide installation

2014-09-02 Thread Bernat Romagosa
Hey, it looks really nice. Is there any documentation around? Any getting started tutorial or bigger project I can take a look at? I don't exactly get how proxying works. I inspected the TDCounter instance in Pharo and I see it's persisting its value, but I don't get how's the widget getting to it

Re: [Pharo-users] Tide installation

2014-09-02 Thread Bernat Romagosa
My bad! Forget my previous email! Sorry. 2014-09-02 18:16 GMT+02:00 Bernat Romagosa : > Hola Esteban! > > Thanks, but it's still failing (although it progressed a little bit > further): > > bower amber#0efe3ad09 not-cached git:// >> github.com/amber-smalltalk/amber.git#0efe3ad09 >> bower

Re: [Pharo-users] Tide installation

2014-09-02 Thread Bernat Romagosa
Hola Esteban! Thanks, but it's still failing (although it progressed a little bit further): bower amber#0efe3ad09 not-cached git:// > github.com/amber-smalltalk/amber.git#0efe3ad09 > bower amber#0efe3ad09 resolve git:// > github.com/amber-smalltalk/amber.git#0efe3ad09 > bower amber

Re: [Pharo-users] [Article] Reddit.st - In 10 Cool Pharo Classes

2014-09-02 Thread Johan Fabry
Whoa, another cool tutorial article of yours. Excellent work! I have a question: I was thinking about giving the HP-35 article and this article to some CS students of mine that have 0 Smalltalk experience, to get them up to speed. But the tutorials are missing the basic explanation of the use

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Roelof Wobben
Hello, I think I wil go for a Magma or a xml approach. Anyone who knows tutorials for both. Roelof Esteban Lorenzano schreef op 2-9-2014 16:50: there is no such thing as ACID or transactions in Mong

Re: [Pharo-users] Tide installation

2014-09-02 Thread Esteban Lorenzano
yeah, doc is bad… you need to install the newest bower, not the version specifies there. cheers, Esteban On 02 Sep 2014, at 17:05, Bernat Romagosa wrote: > Hi list! > > I wanted to try out Tide, and I'm following the steps at: > https://github.com/tide-framework/tide > > However, I can't

[Pharo-users] Tide installation

2014-09-02 Thread Bernat Romagosa
Hi list! I wanted to try out Tide, and I'm following the steps at: https://github.com/tide-framework/tide However, I can't get through the bower install step. Here's the output: bower amber#0efe3ad09 not-cached git:// > github.com/amber-smalltalk/amber.git#0efe3ad09 > bower amber#0efe3ad0

Re: [Pharo-users] best solution to store data

2014-09-02 Thread kilon alios
When I was coding in Python I was using dictionaries a lot. I have made a tutorial about them here https://www.youtube.com/watch?v=MmTxJ_VBrIA&list=PLqbtQ7OkSta0ULYAd7Qdxof851ybh-_m_&index=18 Esteban I have instictive dislike since databases that started 23 years ago when I was taught Dbase a dat

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Esteban Lorenzano
there is no such thing as ACID or transactions in MongoDB, and therefore also not in Voyage. instead, for MongoDB each commit is atomic. It happens or it doesn’t :) Esteban On 02 Sep 2014, at 16:46, Pablo R. Digonzelli wrote: > What about transactions and ACID things with voyager and Mongo?

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Esteban Lorenzano
Hi, It depends… how? which framework do you want to use? if you use sandstonedb, you can check this old post from Ramon Leon (its author): http://onsmalltalk.com/sandstonedb-simple-activerecord-style-persistence-in-squeak is old, and related to squeak… but it still works :) if you use Voyage

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Pablo R. Digonzelli
What about transactions and ACID things with voyager and Mongo? Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Metrotec SRL 25 de Mayo 521 Email: pdigonze...@softsargentina.com pdigonze...@gmail.com Cel: 5493815982714 - Mensaje original - De: "Tim Mackinnon" Para

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Roelof Wobben
Hello Estaban. Do you have a tutorial or a example how I can store my data in objects. Roelof Esteban Lorenzano schreef op 2-9-2014 15:23: problem with relational databases is that they do not match really

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Esteban Lorenzano
problem with relational databases is that they do not match really well with object models. nowadays you have a lot of cool solutions that allow you to avoid them (several document-oriented databases, object-oriented, etc.) so unless you are really constrained for some reason (like imposition o

Re: [Pharo-users] Persistence on Moose browsers, showing always a selection in trees and making tree labels editable.

2014-09-02 Thread Offray Vladimir Luna Cárdenas
Hi Sven, On 08/28/2014 04:47 PM, Sven Van Caekenberghe wrote: Hi, On 28 Aug 2014, at 07:49, Offray Vladimir Luna Cárdenas wrote: The last question its related with Sven's STON: Suppose that I would like to store light markup languages in STON which have the single quote character (') on t

Re: [Pharo-users] best solution to store data

2014-09-02 Thread kilon alios
ah yes thats it , thanks Pierce . It may come handy for my project Ephestos, though I prefer to keep things inside the Pharo image personally. On Tue, Sep 2, 2014 at 4:04 PM, Pierce Ng wrote: > On Tue, Sep 02, 2014 at 03:55:50PM +0300, kilon alios wrote: > > When I was coding in Python for smal

Re: [Pharo-users] [Article] Reddit.st - In 10 Cool Pharo Classes

2014-09-02 Thread Esteban A. Maringolo
Excellent. I hope this spurs more people to embrace GLORP use together with Seaside. :) Thank you again. Esteban A. Maringolo 2014-09-01 18:18 GMT-03:00 Sven Van Caekenberghe : > Hi, > > I published another introduction/tutorial article > > Reddit.st - In 10 Cool Pharo Classes > > Implementi

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Pierce Ng
On Tue, Sep 02, 2014 at 03:55:50PM +0300, kilon alios wrote: > When I was coding in Python for small local databases SQlite was > recommended , I only have played briefly with it but it looked to me fairly > easy to use and with a very good performance. But I dont know how well it > works in Pharo,

Re: [Pharo-users] best solution to store data

2014-09-02 Thread kilon alios
When I was coding in Python for small local databases SQlite was recommended , I only have played briefly with it but it looked to me fairly easy to use and with a very good performance. But I dont know how well it works in Pharo, so maybe someone can jump in and tells us about it . On Tue, Sep 2

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Esteban Lorenzano
seeing that use case is really small, I would probably try the simplest approach possible. Something like sandstonedb can make the trick here :) http://smalltalkhub.com/#!/~gnaritas/SandstoneDb Esteban On 02 Sep 2014, at 14:31, François Stephany wrote: > Yep, the binary approach is a bit mor

Re: [Pharo-users] best solution to store data

2014-09-02 Thread François Stephany
Yep, the binary approach is a bit more fragile and less interoperable. STON, JSON or XML are all fine with such a small domain I imagine. On Tue, Sep 2, 2014 at 12:31 PM, stepharo wrote: > > On 2/9/14 09:11, François Stephany wrote: > > If you don't want a separate DB, object serialization wit

Re: [Pharo-users] best solution to store data

2014-09-02 Thread stepharo
On 2/9/14 13:01, Roelof Wobben wrote: Thanks. Could Magna also be a good solution ? For such quantity of information my impression is that it is oversized. May be Chris Mueller will reply. Now Magma does not work in Pharo (or may be it does but I do not know). Roelof François Stephany

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Roelof Wobben
Thanks all. Is there a good tutorial how I can work with Fuel ? Roelof stepharo schreef op 2-9-2014 12:31: On 2/9/14 09:11, François Stephany wrote: If you don't w

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Roelof Wobben
Thanks. Could Magna also be a good solution ? Roelof François Stephany schreef op 2-9-2014 9:11: If you don't want a separate DB, object serialization with Fuel is an option. It's very easy to

Re: [Pharo-users] GUI construction under Pharo

2014-09-02 Thread stepharo
On 1/9/14 17:40, Ichiseki wrote: Hi For what I've read and study Smalltalk was great a RAD, it was infact used a lot in financial services for that reason. Smalltalk is still used!. JPMorgan, globalFoundries (AMD 64), LAMRC, MMA Now I see that most commercial versions of Smalltalk have a GUI

Re: [Pharo-users] [Article] Reddit.st - In 10 Cool Pharo Classes

2014-09-02 Thread stepharo
Excellent. I started to port the old tutorial to PFTE so I will retire the chapter from the book for now. Stef On 1/9/14 23:18, Sven Van Caekenberghe wrote: Hi, I published another introduction/tutorial article Reddit.st - In 10 Cool Pharo Classes Implementing a Reddit style web applic

Re: [Pharo-users] best solution to store data

2014-09-02 Thread stepharo
On 2/9/14 09:11, François Stephany wrote: If you don't want a separate DB, object serialization with Fuel is an option. It's very easy to serialize a graph of objects to disk. You can also have a look at SandstoneDB, it's pretty small and some people use it. pay attention that images can get co

Re: [Pharo-users] best solution to store data

2014-09-02 Thread stepharo
Hello, I want to try to make a financial app for a organisation. We want you do succeed :) There are some 50 customers so also 50 invoices a year. Then the payments . Also 50 a year. Cash and bank accounts . Every month some 10 - 20 things. So on my disk on the programm I now use it costs

Re: [Pharo-users] best solution to store data

2014-09-02 Thread Tim Mackinnon
Esteban talked about Voyage at ESUG, its on the list of talks here: http://goo.gl/E1VF53 You can of course scale up to Gemstone (or indeed start with that as well if you need something more commercial and supported - there is a Gemstone talk in that link as well). Tim On 2 Sep 2014, at 07:17

Re: [Pharo-users] best solution to store data

2014-09-02 Thread François Stephany
If you don't want a separate DB, object serialization with Fuel is an option. It's very easy to serialize a graph of objects to disk. You can also have a look at SandstoneDB, it's pretty small and some people use it. Cheers, Francois On Tue, Sep 2, 2014 at 8:17 AM, Roelof Wobben wrote: > Hello