[Pharo-users] Export MongoDB to sql format

2017-04-13 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Hello Everyone. I think this is not the right place for this question. But I am doing a work with Pharo. I use MongoDB with Voyage. But I am asked to export my database in sql format. I want to know if there is a way to export mongoDB in sql. Thanks. Asbath --- End Me

[Pharo-users] Pharo with Google Realtime database

2017-03-31 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Hello everybody, I developed an Android app. And the server of the application is written in Pharo. Google Realtime database is a NoSQL database which is very good for synchronization with android apps. I want to add data to this database from my Pharo app. And to do this I

Re: [Pharo-users] Magritte extension

2017-03-20 Thread Asbath Sama biyalou via Pharo-users
l case to > customize magritte is by subclassing and then somehow use your own > subclasses instead of magritte ones. > > On Fri, Mar 17, 2017 at 3:54 AM, Asbath Sama biyalou > mailto:asamabiya...@yahoo.com>> wrote: > > Hello. > > I am using Magritte to gen

Re: [Pharo-users] Magritte extension

2017-03-17 Thread Asbath Sama biyalou via Pharo-users
> > On Fri, Mar 17, 2017 at 3:54 AM, Asbath Sama biyalou > mailto:asamabiya...@yahoo.com>> wrote: > > Hello. > > I am using Magritte to generate reports for a pharo class. I want to > customize generated components in order to have a better design. > >

[Pharo-users] Magritte extension

2017-03-16 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Hello. I am using Magritte to generate reports for a pharo class. I want to customize generated components in order to have a better design. My class is Match Object subclass: #Match instanceVariableNames: 'date_match hour_match status actions stadium comments teams goa

[Pharo-users] selectAllSortBy: usage

2017-01-14 Thread Asbath Sama biyalou
Hi everybody I have a small problem with the selectAllSortBy: method When I use it Actualite selectAllSortBy: {# date_actu-> 1. # heure_actu-> 1} asDictionary. I have a MessageUnderstood Set (class) >> sortBy: I searched the whole system to find sortBy: but in vain. I do not know how to do it any

Re: [Pharo-users] selectAllSortBy: usage

2017-01-04 Thread Asbath Sama biyalou via Pharo-users
By: { >'date' -> 1 . >'time' -> 1 } asDictionary > > where 1 means ascending and -1 means descending > > Norbert > >> Am 03.01.2017 um 19:56 schrieb Asbath Sama biyalou : >> >> Hi everybody. I have an object and I want to selec

[Pharo-users] selectAllSortBy: usage

2017-01-03 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Hi everybody. I have an object and I want to select all of them sorting them by date (Date) and hour(Time). But I don't know to tell that condition to selectAllSortBy: I tried some things but no result. I am using Voyage with mongoDB. Thanks Asbath --- End Message ---

Re: [Pharo-users] Rest post methods

2017-01-02 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Thanks Sven. I will try it. On 02/01/2017 23:49, Sven Van Caekenberghe wrote: >> On 2 Jan 2017, at 20:42, Asbath Sama biyalou wrote: >> >> Thanks Sven. >> >> That is fine. According to your answer this is not a problem of >> impl

Re: [Pharo-users] Rest post methods

2017-01-02 Thread Asbath Sama biyalou via Pharo-users
ally, you execute using #get, > #put, #post or #delete. You could also use any object that has a > #neoJsonMapping. > > Have a look at section 11.3 in > https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-HTTP-Server/Zinc-HTTP-Serv

[Pharo-users] Rest post methods

2017-01-02 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Hello Everybody. I am implementing an architecture of rest services like in TinyBlog tutorial. Now I want to implement post methods. But it doesn't work. My execute function execute | user u | [ user := NeoJSONReader fromString: self context request rawBody

[Pharo-users] Rest implementation with image files

2016-12-09 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Hi everybody. I have a User class with his photo. I'am implementing rest on this class. in variable photo, I have the name of the image. I don't know how to do with that variable in order to get image from a rest client. Thanks Asbath --- End Message ---

Re: [Pharo-users] Image Downloading

2016-12-08 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Thanks all for your answers. But now I want to access to some images on my disk from a rest client. I have the name of the image in a variable. Cheers Asbath On 08/12/2016 19:33, Sven Van Caekenberghe wrote: > Hi, > >> On 8 Dec 2016, at 09:43, Asbath Sama

[Pharo-users] Image Downloading

2016-12-08 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Hi. I want to download images from Internet and save them on my local disk. I will take the path of this image and put it in variable in pharo. I don't know how to proceed. Thanks --- End Message ---

[Pharo-users] Rest Services with pharo objects as parameters

2016-11-22 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Hello Everybody. I have two classes ClassA(data1 data2 ref_ClassB) ClassB (data3 data4). I want to get list of classA where ref_ClassB = ClassB. I don't know how to do my url in order to sent ClassB as a parameter of the service. I am using Pharo 4.0 with Voyage-Mongo. --

Re: [Pharo-users] Pharo-users Digest, Vol 43, Issue 109

2016-11-19 Thread Asbath Sama biyalou via Pharo-users
> You can reach the person managing the list at > pharo-users-ow...@lists.pharo.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Pharo-users digest..." > > > Today's Topics: > > 1. Re: Ne

Re: [Pharo-users] NeoJSON with Rest

2016-11-19 Thread Asbath Sama biyalou via Pharo-users
roBook/lastSuccessfulBuild/artifact/book-result/NeoJSON/NeoJSON.html > ? > > Did you check out the unit tests ? Some of them serve as examples. Checkout > NeoJSONTestObject1 2 3 and the tests #testObject1 2 3 for example. > >> On 19 Nov 2016, at 08:24, Asbath Sama biyalou

Re: [Pharo-users] NeoJSON with Rest

2016-11-19 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- I really want to know how to map my objects using NeoJSON. I don't have any idea. thanks. On 19/11/2016 08:24, Asbath Sama biyalou wrote: > Hello. > > I want an example of implementation of neojson on a pharo object. > > I am trying to implement ne

[Pharo-users] NeoJSON with Rest

2016-11-18 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Hello. I want an example of implementation of neojson on a pharo object. I am trying to implement neoJsonOn: method on a pharo object but when I test I get a Character mapping not found in NeoJSONWriter. Thanks. --- End Message ---

Re: [Pharo-users] ZnClient with https

2016-11-18 Thread Asbath Sama biyalou via Pharo-users
e hacking the plugin. > > Sven > >> On 18 Nov 2016, at 17:00, Asbath Sama biyalou wrote: >> >> Yes this one >> >> https://upload.wikimedia.org/wikipedia/fr/thumb/8/8d/CAF-logo-2009.png/150px-CAF-logo-2009.png >> >> >> >> On 18/11/2016

Re: [Pharo-users] ZnClient with https

2016-11-18 Thread Asbath Sama biyalou via Pharo-users
t 16:07, Asbath Sama biyalou via Pharo-users >> wrote: >> >> >> From: Asbath Sama biyalou >> Subject: ZnClient with https >> Date: 18 November 2016 at 16:07:41 GMT+1 >> To: pharo-users@lists.pharo.org >> >> >> Hi everybody. >> I

[Pharo-users] ZnClient with https

2016-11-18 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Hi everybody. I am using ZnClient to load files from web. When the url is an https url I get a ConnectionTimedOut : Data receive timed out. Can you help me please. Thanks. --- End Message ---

Re: [Pharo-users] Mongo with Voyage

2016-11-17 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Please When I execute initializeMongo I have a ConnectionTimedOut error. Is it my Internet connection or something else. Thanks On 17/11/2016 13:25, Norbert Hartl wrote: > > > Am 17.11.2016 um 13:12 schrieb Asbath Sama biyalou > mailto:asamabiya...@yahoo.com>

Re: [Pharo-users] Mongo with Voyage

2016-11-17 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Thanks. On 17/11/2016 13:25, Norbert Hartl wrote: > > > Am 17.11.2016 um 13:12 schrieb Asbath Sama biyalou > mailto:asamabiya...@yahoo.com>>: > >> Please Not very clear. Then I just execute that method in the >> playground and It is good. &g

Re: [Pharo-users] Mongo with Voyage

2016-11-17 Thread Asbath Sama biyalou via Pharo-users
e name > #enableSingleton because it is accessible as singleton from everywhere. > > Norbert > >> Am 17.11.2016 um 12:44 schrieb Asbath Sama biyalou >> mailto:asamabiya...@yahoo.com>>: >> >> Thanks. Just look my function look like this: >&

Re: [Pharo-users] Mongo with Voyage

2016-11-17 Thread Asbath Sama biyalou via Pharo-users
collections in mongo then you have to do nothing. > Collections are created automatically as soon as you access them the > first time. > > Norbert > > >> Am 17.11.2016 um 12:29 schrieb Asbath Sama biyalou via Pharo-users >> mailto:pharo-users@lists.pharo.org&

[Pharo-users] Mongo with Voyage

2016-11-17 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Hello. I'am using pharo 4.0 with external mongo database (mongolab.com) I have like 7 classes which are voyageRoot. I want to know if I will initialize mongo in each class or in which class I can implement it. Thanks --- End Message ---

[Pharo-users] (no subject)

2016-01-22 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- I want to know how to use sessions in seaside to manage identification of users. Thank you --- End Message ---