[Pharo-users] Another headless image question

2015-01-23 Thread Thushar G R
*HI,*

*Please find below the script i am using to run pharo seaside image
headless on mac. its pharo3.0 image downloaded for mac os.*

#!/bin/bash


RT=$PWD/Pharo3.0.app/Contents

#exec $0 $RT/MacOS/Pharo$RT/Resources/Pharo3.0.image

exec $PWD/Pharo3.0.app/Contents/MacOS/Pharo -vm-sound-null
-vm-display-null $PWD/Pharo3.0.app/Contents/Resources/Pharo3.0.image
--no-default-preferences --no-quit


*The script is placed on the same folder as the Pharo3.0.app and it
executes pretty well. *

*1) Can anyone verify this and let me know if i am doing it the right way?*

*Also i have an RFB server set up in the image for debugging. When i
connect to it and do a right click i get the below error *


RFB: caught ConnectionClosed: Connection close while waiting for
data.SubclassResponsibility:
NonInteractiveUIManager had the subclass responsibility to implement
#newMenuIn:for:

NonInteractiveUIManager(Object)subclassResponsibility

NonInteractiveUIManager(UIManager)newMenuIn:for:

PluggableTextMorph(ScrollPane)getMenu:

PluggableTextMorphyellowButtonActivity:

SmalltalkEditor(TextEditor)mouseUp:

TextMorphForEditView(TextMorph)mouseUp: in Block: [ editor mouseUp: evt ]

TextMorphForEditView(TextMorph)handleInteraction:

TextMorphForEditViewhandleInteraction:

TextMorphForEditView(TextMorph)mouseUp:

TextMorphForEditViewmouseUp:

TextMorphForEditView(Morph)handleMouseUp:

MouseButtonEventsentTo:

TextMorphForEditView(Morph)handleEvent:

TextMorphForEditView(Morph)handleFocusEvent:

HandMorphsendFocusEvent:to:clear: in Block: [ ...

BlockClosureon:do:

WorldMorph(PasteUpMorph)becomeActiveDuring:

HandMorphsendFocusEvent:to:clear:

HandMorphsendEvent:focus:clear:

HandMorphsendMouseEvent:

HandMorphhandleEvent:

MouseClickStatehandleEvent:from:

HandMorphhandleEvent:

HandMorphprocessEvents

WorldStatedoOneCycleNowFor: in Block: [ :h | ...

Array(SequenceableCollection)do:

WorldStatehandsDo:

WorldStatedoOneCycleNowFor:

WorldStatedoOneCycleFor:

WorldMorphdoOneCycle


*Please let me know what i am doing wrong.*

*TIA,*

*thushar*


Re: [Pharo-users] Another headless image question

2015-01-23 Thread Thushar G R
*That was a wrong script, the working script i am executing is the one
below.*

#!/bin/bash


RT=$PWD/Pharo3.0.app/Contents

#exec $0 $RT/MacOS/Pharo$RT/Resources/Pharo3.0.image

exec $PWD/Pharo3.0.app/Contents/MacOS/Pharo --headless --nohandlers
$PWD/Pharo3.0.app/Contents/Resources/Pharo3.0.image
--no-default-preferences --no-quit

*Sorry about that. as u can see the --headless and --nohandlers are used
here in the working script. and this when connection through vnc i am
getting the error on right click.*

On Fri, Jan 23, 2015 at 5:29 PM, Thushar G R thushar...@gmail.com wrote:

 *HI,*

 *Please find below the script i am using to run pharo seaside image
 headless on mac. its pharo3.0 image downloaded for mac os.*

 #!/bin/bash


 RT=$PWD/Pharo3.0.app/Contents

 #exec $0 $RT/MacOS/Pharo$RT/Resources/Pharo3.0.image

 exec $PWD/Pharo3.0.app/Contents/MacOS/Pharo -vm-sound-null
 -vm-display-null $PWD/Pharo3.0.app/Contents/Resources/Pharo3.0.image
 --no-default-preferences --no-quit


 *The script is placed on the same folder as the Pharo3.0.app and it
 executes pretty well. *

 *1) Can anyone verify this and let me know if i am doing it the right way?*

 *Also i have an RFB server set up in the image for debugging. When i
 connect to it and do a right click i get the below error *


 RFB: caught ConnectionClosed: Connection close while waiting for 
 data.SubclassResponsibility:
 NonInteractiveUIManager had the subclass responsibility to implement
 #newMenuIn:for:

 NonInteractiveUIManager(Object)subclassResponsibility

 NonInteractiveUIManager(UIManager)newMenuIn:for:

 PluggableTextMorph(ScrollPane)getMenu:

 PluggableTextMorphyellowButtonActivity:

 SmalltalkEditor(TextEditor)mouseUp:

 TextMorphForEditView(TextMorph)mouseUp: in Block: [ editor mouseUp: evt ]

 TextMorphForEditView(TextMorph)handleInteraction:

 TextMorphForEditViewhandleInteraction:

 TextMorphForEditView(TextMorph)mouseUp:

 TextMorphForEditViewmouseUp:

 TextMorphForEditView(Morph)handleMouseUp:

 MouseButtonEventsentTo:

 TextMorphForEditView(Morph)handleEvent:

 TextMorphForEditView(Morph)handleFocusEvent:

 HandMorphsendFocusEvent:to:clear: in Block: [ ...

 BlockClosureon:do:

 WorldMorph(PasteUpMorph)becomeActiveDuring:

 HandMorphsendFocusEvent:to:clear:

 HandMorphsendEvent:focus:clear:

 HandMorphsendMouseEvent:

 HandMorphhandleEvent:

 MouseClickStatehandleEvent:from:

 HandMorphhandleEvent:

 HandMorphprocessEvents

 WorldStatedoOneCycleNowFor: in Block: [ :h | ...

 Array(SequenceableCollection)do:

 WorldStatehandsDo:

 WorldStatedoOneCycleNowFor:

 WorldStatedoOneCycleFor:

 WorldMorphdoOneCycle


 *Please let me know what i am doing wrong.*

 *TIA,*

 *thushar*



Re: [Pharo-users] [Moose-dev] [Pharo-dev] OpenStreetMap integration

2015-01-19 Thread Thushar G R
That looks great. Thank you for your work.

On Tue, Jan 20, 2015 at 12:30 AM, Alexandre Bergel alexandre.ber...@me.com
wrote:

 Yes, I agree. This is on our todo.

 Cheers,
 Alexandre


  On Jan 19, 2015, at 12:29 PM, Tudor Girba tu...@tudorgirba.com wrote:
 
  Hi Alex,
 
  I strongly believe that the concrete implementation that links Roassal
 to the data format should be moved to a separate package and ideally, to
 another configuration.
 
  The generic engine should be decoupled from concrete data sources.
 
  Cheers,
  Doru
 
 
  On Mon, Jan 19, 2015 at 3:30 PM, Alexandre Bergel 
 alexandre.ber...@me.com wrote:
  It should yes
 
  Roassal2 now depends on NeoJSON by the way.
 
  Alexandre
 
 
   On Jan 19, 2015, at 11:26 AM, Sven Van Caekenberghe s...@stfx.eu
 wrote:
  
   Is this in the latest moose 5.1 build ?
 
  --
  _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
  Alexandre Bergel  http://www.bergel.eu
  ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
 
 
 
 
 
 
 
  --
  www.tudorgirba.com
 
  Every thing has its own flow
  ___
  Moose-dev mailing list
  moose-...@iam.unibe.ch
  https://www.iam.unibe.ch/mailman/listinfo/moose-dev

 --
 _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
 Alexandre Bergel  http://www.bergel.eu
 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.







Re: [Pharo-users] Request for adding Smalltalk syntax highlight in SE network

2014-09-29 Thread Thushar G R
done

On Mon, Sep 29, 2014 at 5:19 PM, Stephan Eggermont step...@stack.nl wrote:

 Voted




Re: [Pharo-users] [ANN] Teapot 0.8 micro web framework

2014-08-24 Thread Thushar G R
Great work!!

Regards,
Thushar


On Mon, Aug 25, 2014 at 5:08 AM, Javier Pimás elpochodelage...@gmail.com
wrote:

 Cool! Smalltalk web stack keeps getting better and better!

 Cheers,
 Javier


 On Sun, Aug 24, 2014 at 7:48 PM, Attila Magyar m.magy...@gmail.com
 wrote:

 Hello,

 I'd like to announce a new micro web framework called Teapot. It follows a
 similar philosophy than other lightweight frameworks like
 Sinatra/Bottle/Flask/Spark. Teapot is built on top of the Zn HTTP
 components, and less than 500 lines long.

 More info:

 http://smalltalkhub.com/#!/~zeroflag/Teapot

 Attila



 --
 View this message in context:
 http://forum.world.st/ANN-Teapot-0-8-micro-web-framework-tp4774449.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




 --
 Javier Pimás
 Ciudad de Buenos Aires



[Pharo-users] Pharo3.0 + Swap Ctrl and Alt keys

2014-06-13 Thread Thushar G R
Hi all,

In Pharo 2.0 i find that Ctrl+d would do the doIt in workspace. In
Pharo3.0 for doIt, i need to do Alt+d.

1) Is this change intentional?
2) if so am i advised to practice all the shortcuts using Alt keys instead
of Ctrl key for pahro 3?
3) Any way to bring back the Ctrl/Alt swap settings (I have asked this
before in stackoverflow)
4) Any one knows a hack or workaround for this?

Actually i was trying to figure out point 4) but no luck till now. I
changed it in keymappings builders in AbstractNautilusUI and similar places
but it simply dont work.

Any help is appreciated and TIA.

G R Thushar


Re: [Pharo-users] Pharo3.0 + Swap Ctrl and Alt keys

2014-06-13 Thread Thushar G R
Can anyone confirm this

1) Open fresh Pharo3 image in Windows.
2) Go to *TextEditor buildTextEditorShortcutsOn:*
3) Change the last line from

  *(aBuilder shortcut: #cursorEnd)*
* category: #TextEditor*
* default: Character end ctrl win | Character end ctrl unix | Character end
command mac*
* do: [ :target :morph :event | target cursorEnd: event ]*

To

   *(aBuilder shortcut: #cursorEnd)*
* category: #TextEditor*
* default: Character end ctrl win | Character end ctrl unix | Character end
command mac*
* do: [ :target :morph :event |*
*  self halt.*
*  target cursorEnd: event ]*

4) Take a workspace and do *Ctrl + d* on *1 inspect.*

What happens for me is that it goes into the halt that we placed in step
3). And what i dont understand is why do it match the Keystroke
*Ctrl+d* with *Ctrl + END*. If you go back the stack you will find
that's exactly whats happening. Let me know if i made some mistakes here..


Thanks for helping,

G R Thushar

*G R Thushar*
*Team Leader(Technology),*
*Signos Software Solutions Pvt. Ltd.*
*Ground Floor **A.R Plaza, TC 11/43 (2),*
*P.M.G Junction,*
*Thiruvananthapuram, 695004. Kerala, India.*

*Web: www.signossolutions.com http://www.signossolutions.com*
Email: thushar...@signossolutions.com, thushar...@gmail.com
Phone: +91984652





On Fri, Jun 13, 2014 at 5:36 PM, p...@highoctane.be p...@highoctane.be
wrote:

 On Fri, Jun 13, 2014 at 1:30 PM, Thushar G R thushar...@gmail.com wrote:

 Hi all,

 In Pharo 2.0 i find that Ctrl+d would do the doIt in workspace. In
 Pharo3.0 for doIt, i need to do Alt+d.

 1) Is this change intentional?
 2) if so am i advised to practice all the shortcuts using Alt keys
 instead of Ctrl key for pahro 3?
 3) Any way to bring back the Ctrl/Alt swap settings (I have asked this
 before in stackoverflow)
 4) Any one knows a hack or workaround for this?

 Actually i was trying to figure out point 4) but no luck till now. I
 changed it in keymappings builders in AbstractNautilusUI and similar places
 but it simply dont work.

 Any help is appreciated and TIA.

 G R Thushar


 I can't help you on that specific. I'll just add some more questions:

 Why on Linux can't I use the Cmd/Alt/Whatever  + click on a method name
 and get to the implementors list like I can on Mac and Windows? (Mac:
 Cmd-Click, Win: Right-Alt-Click)

 Is this a VM thing?

 Phil




Re: [Pharo-users] Another Pharo based solution released

2014-06-11 Thread Thushar G R
Congrats,

Keep up the good work!!

*G R Thushar*



On Tue, Jun 10, 2014 at 1:39 AM, p...@highoctane.be p...@highoctane.be
wrote:

 Congratulations!
 Le 9 juin 2014 20:35, Sven Van Caekenberghe s...@stfx.eu a écrit :

 Nice to see that things are going well, keep it up !

 On 09 Jun 2014, at 20:22, Esteban A. Maringolo emaring...@gmail.com
 wrote:

  Last Friday my company released a new software solution that involves
  Pharo in the server side.
 
  It consists of a Android based app running on tablets, used for the
  showcase and sales of products during expos (of retail companies),
  backed by a Pharo server through a REST API, and with a Seaside based
  admin/users web.
 
  The first expo was during the last weekend (fri-sun), and it involved
  the sales of a large number of orders and products (I can't disclose
  the numbers).
  The scale of the solution/user base is small, far from being cloud
  scale, but it is for one of the largest consumer goods manufacturer
  (and the one who sold the most during the expo).
  Anyhow, the server handled all the request perfectly, without a single
 glitch.
 
  We already have some future expos scheduled. So it will continue to
  run along the already running Pharo based solution in the same
  company.
 
  Best regards!
 
  Esteban A. Maringolo
 






[Pharo-users] Cloud Shoppie - App Contest Poll

2014-05-29 Thread Thushar G R
Hi All

http://letsbuildkaec.challengepost.com/submissions/23789-cloud-shoppie

This is an iOS/Android application with server developed in Pharo
Smalltalk(Seaside-REST). There is a video explaining the application and a
link to vote for the application.

We are a start up with a team of 8 smalltalkers and would greatly
appreciate your valuable support and feedback.

Thanks In Advance.
G R Thushar


Re: [Pharo-users] Cloud Shoppie - App Contest Poll

2014-05-29 Thread Thushar G R
Wow, thanks,

will definitely correct those. :-)


*G R Thushar*
*Team Leader(Technology),*
*Signos Software Solutions Pvt. Ltd.*
*Ground Floor **A.R Plaza, TC 11/43 (2),*
*P.M.G Junction,*
*Thiruvananthapuram, 695004. Kerala, India.*

*Web: www.signossolutions.com http://www.signossolutions.com*
Email: thushar...@signossolutions.com, thushar...@gmail.com
Phone: +91984652





On Thu, May 29, 2014 at 12:12 PM, Bernat Romagosa 
tibabenfortlapala...@gmail.com wrote:

 Voted!

 By the way, there are two small typos in the landing page:

 any store in your are*a*
 all encompassing online *the* store.

 Good luck! :)


 2014-05-29 8:20 GMT+02:00 Thushar G R thushar...@gmail.com:

 Hi All

 http://letsbuildkaec.challengepost.com/submissions/23789-cloud-shoppie

 This is an iOS/Android application with server developed in Pharo
 Smalltalk(Seaside-REST). There is a video explaining the application and a
 link to vote for the application.

 We are a start up with a team of 8 smalltalkers and would greatly
 appreciate your valuable support and feedback.

 Thanks In Advance.
 G R Thushar




 --
 Bernat Romagosa.



Re: [Pharo-users] Cloud Shoppie - App Contest Poll

2014-05-29 Thread Thushar G R
Hi Strpharo,

Thanks a lot. Its still a prototype, if we manage to win, we might get the
opportunity to launch it live. biting nails.

Thanks a lot,
Thushar




On Thu, May 29, 2014 at 12:25 PM, stepharo steph...@free.fr wrote:

  http://pharoweekly.wordpress.com/2014/05/29/cloud-shoppie/

 you should send an announce to the esug mailing-list
 :)

 Stef



 On 29/5/14 08:20, Thushar G R wrote:

  Hi All

  http://letsbuildkaec.challengepost.com/submissions/23789-cloud-shoppie

  This is an iOS/Android application with server developed in Pharo
 Smalltalk(Seaside-REST). There is a video explaining the application and a
 link to vote for the application.

  We are a start up with a team of 8 smalltalkers and would greatly
 appreciate your valuable support and feedback.

  Thanks In Advance.
 G R Thushar





Re: [Pharo-users] XMLOrderedList Concantenation

2014-05-06 Thread Thushar G R
Hi,

Thanks for all the responses.Ben and Carlos solutions works. What
workaround i did was i overrided the concatenation method in XMLOrderedList
for the time being , until someone authorised has
has a solution and commits it.I hope it happens soon so i dont have to
maintain a patch.

Thanks to all,
thushar

*G R Thushar*
*Team Leader(Technology),*
*Signos Software Solutions Pvt. Ltd.*
*Ground Floor **A.R Plaza, TC 11/43 (2),*
*P.M.G Junction,*
*Thiruvananthapuram, 695004. Kerala, India.*

*Web: www.signossolutions.com http://www.signossolutions.com*
Email: thushar...@signossolutions.com, thushar...@gmail.com
Phone: +91984652





On Mon, May 5, 2014 at 4:47 PM, Thushar G R thushar...@gmail.com wrote:

 Hi,

 I am getting an error while doing this.

 a := XMLOrderedList new.
 a add:'1'.
 a , XMLOrderedList new.

 Thanks,

 Thushar



[Pharo-users] XMLOrderedList Concantenation

2014-05-05 Thread Thushar G R
Hi,

I am getting an error while doing this.

a := XMLOrderedList new.
a add:'1'.
a , XMLOrderedList new.

Thanks,

Thushar


Re: [Pharo-users] XMLOrderedList Concantenation

2014-05-05 Thread Thushar G R
XMLOrderedList belongs to package XML-Parser-Nodes.

a := XMLOrderedList new.
a add:'1'.
a , XMLOrderedList new.

Here select all and Do it. On line 3 (a , XMLOrderedList new.)  i am
expected to get a copy of 'a' , but instead it throws an error
SubscriptOutOfBounds.




OrderedCollection(Object)errorSubscriptBounds:
OrderedCollectionensureBoundsFrom:to:
OrderedCollectionat:put:
OrderedCollection(SequenceableCollection)replaceFrom:to:with:startingAt:
XMLOrderedListreplaceFrom:to:with:startingAt:
XMLOrderedList(SequenceableCollection)copyReplaceFrom:to:with:
XMLOrderedList(SequenceableCollection),
UndefinedObjectDoIt
OpalCompilerevaluate
SmalltalkEditorevaluateSelectionAndDo:
PluggableTextMorphinspectIt in Block: [ textMorph editor
evaluateSelectionAndDo: [ :resu...etc...
PluggableTextMorphhandleEdit: in Block: [ result := editBlock value ]
TextMorphForEditView(TextMorph)handleEdit:
PluggableTextMorphhandleEdit:
PluggableTextMorphinspectIt
SmalltalkEditor classbuildSmalltalkEditorKeymappingsOn: in Block: [
:morph | morph inspectIt ]
BlockClosurecull:
BlockClosurecull:cull:
BlockClosurecull:cull:cull:
KMCategoryBindingcompleteMatch:buffer:
KMKeymapnotifyCompleteMatchTo:buffer: in Block: [ :l | l completeMatch:
self buffer: aBuffer ]
Array(SequenceableCollection)do:
KMKeymapnotifyCompleteMatchTo:buffer:
KMKeymaponMatchWith:notify:andDo:
KMCategoryonMatchWith:notify:andDo: in Block: [ :entry | entry
onMatchWith: anEventBuffer notify...etc...
Setdo:
KMCategoryonMatchWith:notify:andDo:
KMCategoryBindingverifyMatchWith:notifying:thenDoing:
KMDispatcherdispatch: in Block: [ :aTarget | ...
OrderedCollectiondo:


Plese refer to the above stack.

Thanks in advance.

thushar

*G R Thushar*
*Team Leader(Technology),*
*Signos Software Solutions Pvt. Ltd.*
*Ground Floor **A.R Plaza, TC 11/43 (2),*
*P.M.G Junction,*
*Thiruvananthapuram, 695004. Kerala, India.*

*Web: www.signossolutions.com http://www.signossolutions.com*
Email: thushar...@signossolutions.com, thushar...@gmail.com
Phone: +91984652





On Mon, May 5, 2014 at 6:28 PM, Ben Coman b...@openinworld.com wrote:

 Thushar G R wrote:

 Hi,

 I am getting an error while doing this.

 a := XMLOrderedList new.
 a add:'1'.
 a , XMLOrderedList new.

 Thanks,

 Thushar

 I could give you an answer ;) - but it would be what you wanted.  It
 would help if you told what the error was, where it occurs (which of the
 three lines), and what you expect each line is doing (especially the third
 line).

 Also I don't see XMLOrderedList in the default Pharo image, so it would
 help if you describe where you got that from and how you installed it.

 cheers -ben




[Pharo-users] SOAP in Pharo

2014-05-02 Thread Thushar G R
Hi,

Do we have a SOAP client in pharo? I checked SoapOpera but seems its too
old to work with latest pharo 2.0.

Thanks,


Re: [Pharo-users] SOAP in Pharo

2014-05-02 Thread Thushar G R
Hi,
XMLRPC may not be enough. I have tried some of the request using the XMLRPC
and it works but i am not sure if its enough for managing all the requests.
I am trying to connect to a magento site. and their recommended approach is
unfortunately soap. SoapOpera updating is a possibility it seems, am i
right? Also any paid paid solution is not practical for us at the momment.

Also i hope the SoapOpera is latest at squeakSource and that it was last
updated in 2010.

thanks for the replies

Thushar

*G R Thushar*
*Team Leader(Technology),*
*Signos Software Solutions Pvt. Ltd.*
*Ground Floor **A.R Plaza, TC 11/43 (2),*
*P.M.G Junction,*
*Thiruvananthapuram, 695004. Kerala, India.*

*Web: www.signossolutions.com http://www.signossolutions.com*
Email: thushar...@signossolutions.com, thushar...@gmail.com
Phone: +91984652





On Fri, May 2, 2014 at 5:03 PM, p...@highoctane.be p...@highoctane.bewrote:

 Pharo lacks a SOAP stack.

 This is something that also limits it in environments where a ton of APIs
 are in SOAP format. E.g. Banks, Insurance, Media, Government (including
 European Institutions).
 For SaaS apps, who cares.

 Java and .NET have full stacks and that's a significant factor for their
 use.
 VisualWorks support those: as in:

 http://www.cincomsmalltalk.com/main/products/visualworks/

- *Major improvements to WSDL 2.0 / SOAP 1.2 to handle updated
protocols.*

 FWIW, my approach is to have a Java endpoint that will pass stuff back and
 forth through RabbitMQ or whatever middleware.

 When you get into SOAP over JMS, with JMS being WebsphereMQ for example,
 well, things get complicated, especially when you factor in certificates.
 And sometimes you need compliance and certification.

 IBM has a product to help solve those things:
 http://www-03.ibm.com/software/products/en/datapower.
 I led a team that used it extensively for a couple of months. It works
 well. The price tag is quite hard to swallow for little systems and
 companies.

 featurelist

 The IBM® WebSphere® DataPower® Service Gateway XG45 appliance helps you
 secure and govern web traffic more effectively. It provides an advanced
 data threat reduction and security enforcement layer for web and
 on-premises applications, while giving you the flexibility to deploy new
 applications rapidly.

 The IBM WebSphere DataPower Service Gateway XG45 appliance helps you:

- Strengthen compliance using robust data protection, policy
enforcement and auditing capabilities
- Gain “front-line defense” for inbound and outbound traffic through a
web 2.0 gateway.
- Separate security concerns from application code with an optional
hardware security module (HSM) that is certified for FIPS 140-2 Level 3.
- Integrate applications for improved application and database
connectivity.

 /featurelist

 If you have something around, you can bridge SOAP to whatever, including
 REST. The new versions do support JSON etc as well.


 Phil



 On Fri, May 2, 2014 at 12:26 PM, S Krish 
 krishnamachari.sudha...@gmail.com wrote:

 Are you looking for a SOAP client for RPC style calls or document format.

 For the former adding a simple SOAP Envelope to the request and using
 ZnClient should work fairly well.

 But if you are looking for something like :
 http://www.soapclient.com/soaptest.html  to be used against a declared
 WSDL.. I doubt if any exists.

 Look at the XMLRPC package and see if you can work from there.. if you
 need to adapt something..


 On Fri, May 2, 2014 at 3:29 PM, Thushar G R thushar...@gmail.com wrote:

 Hi,

 Do we have a SOAP client in pharo? I checked SoapOpera but seems its too
 old to work with latest pharo 2.0.

 Thanks,






Re: [Pharo-users] SOAP in Pharo

2014-05-02 Thread Thushar G R
Hi Sir,

REST in magento is oAuth 1.0a, this cannot be done using javascript , if i
am not wrong. Also REST in magento dont support shopping cart and payments.
I actually first considered REST itself but due to these issues i came back
to SOAP/XMLRPC. For OAuth i used Zinc-SSO and from pharo i had REST working
too.

SoapOpera : hit by grief already!!

So i think i will start with XMLRPC and improvise. But before that i need
to get the xml requests and response formats to start with.

Will keep you posted.

Thanks a lot,
thushar



On Fri, May 2, 2014 at 6:06 PM, S Krish
krishnamachari.sudha...@gmail.comwrote:


 Or:

 http://www.magentocommerce.com/api/rest/introduction.html

 REST is a clean approach.. OAuth2 you can perhaps do with Zinc and SSL.. (
 http://blog.doit.st/2011/02/15/cloudforksso-openid-and-oauth-support-for-smalltalk/)




 On Fri, May 2, 2014 at 6:03 PM, S Krish krishnamachari.sudha...@gmail.com
  wrote:

 XML-RPC

 To use XML-RPC, load the following URL into your XML-RPC client:

 http://magentohost/api/xmlrpc/

  The XML-RPC supports the version 1 of the Magento API. and the API it
 supports is quite extensive..


 Another Approach:

 One can with some ingenuity mix a bit of groovy to deal with complex SOAP
 and reduce it enough for the Pharo to deal with it in XML RPC if you have
 to go that way.

 SoapOpera I am sure will give you a bit of grief, unless you plan to fix
 it.. while you use it.






 On Fri, May 2, 2014 at 5:15 PM, Thushar G R thushar...@gmail.com wrote:

 Hi,
 XMLRPC may not be enough. I have tried some of the request using the
 XMLRPC and it works but i am not sure if its enough for managing all the
 requests. I am trying to connect to a magento site. and their recommended
 approach is unfortunately soap. SoapOpera updating is a possibility it
 seems, am i right? Also any paid paid solution is not practical for us at
 the momment.

 Also i hope the SoapOpera is latest at squeakSource and that it was last
 updated in 2010.

 thanks for the replies

 Thushar

 *G R Thushar*
 *Team Leader(Technology),*
 *Signos Software Solutions Pvt. Ltd.*
 *Ground Floor **A.R Plaza, TC 11/43 (2),*
 *P.M.G Junction,*
 *Thiruvananthapuram, 695004. Kerala, India.*

 *Web: www.signossolutions.com http://www.signossolutions.com*
 Email: thushar...@signossolutions.com, thushar...@gmail.com
 Phone: +91984652





 On Fri, May 2, 2014 at 5:03 PM, p...@highoctane.be 
 p...@highoctane.bewrote:

 Pharo lacks a SOAP stack.

 This is something that also limits it in environments where a ton of
 APIs are in SOAP format. E.g. Banks, Insurance, Media, Government
 (including European Institutions).
 For SaaS apps, who cares.

 Java and .NET have full stacks and that's a significant factor for
 their use.
 VisualWorks support those: as in:

 http://www.cincomsmalltalk.com/main/products/visualworks/

- *Major improvements to WSDL 2.0 / SOAP 1.2 to handle updated
protocols.*

 FWIW, my approach is to have a Java endpoint that will pass stuff back
 and forth through RabbitMQ or whatever middleware.

 When you get into SOAP over JMS, with JMS being WebsphereMQ for
 example, well, things get complicated, especially when you factor in
 certificates.
 And sometimes you need compliance and certification.

 IBM has a product to help solve those things:
 http://www-03.ibm.com/software/products/en/datapower.
 I led a team that used it extensively for a couple of months. It works
 well. The price tag is quite hard to swallow for little systems and
 companies.

 featurelist

 The IBM® WebSphere® DataPower® Service Gateway XG45 appliance helps
 you secure and govern web traffic more effectively. It provides an advanced
 data threat reduction and security enforcement layer for web and
 on-premises applications, while giving you the flexibility to deploy new
 applications rapidly.

 The IBM WebSphere DataPower Service Gateway XG45 appliance helps you:

- Strengthen compliance using robust data protection, policy
enforcement and auditing capabilities
- Gain “front-line defense” for inbound and outbound traffic
through a web 2.0 gateway.
- Separate security concerns from application code with an optional
hardware security module (HSM) that is certified for FIPS 140-2 Level 3.
- Integrate applications for improved application and database
connectivity.

 /featurelist

 If you have something around, you can bridge SOAP to whatever,
 including REST. The new versions do support JSON etc as well.


 Phil



 On Fri, May 2, 2014 at 12:26 PM, S Krish 
 krishnamachari.sudha...@gmail.com wrote:

 Are you looking for a SOAP client for RPC style calls or document
 format.

 For the former adding a simple SOAP Envelope to the request and using
 ZnClient should work fairly well.

 But if you are looking for something like :
 http://www.soapclient.com/soaptest.html  to be used against a
 declared WSDL.. I doubt if any exists.

 Look at the XMLRPC package and see if you can work from

[Pharo-users] GLORP on Pharo 3

2014-03-31 Thread Thushar G R
Hi,

I have GLORP loaded in Pharo2. From where can i load GLORP in Pharo3?
Or am i too early?

TIA,

Thushar


Re: [Pharo-users] Spec website: nice!

2014-03-28 Thread Thushar G R
Wow!! Great work. Was looking for something like this..

*G R Thushar*
*Team Leader(Technology),*
*Signos Software Solutions Pvt. Ltd.*
*Ground Floor **A.R Plaza, TC 11/43 (2),*
*P.M.G Junction,*
*Thiruvananthapuram, 695004. Kerala, India.*

*Web: www.signossolutions.com http://www.signossolutions.com*
Email: thushar...@signossolutions.com, thushar...@gmail.com
Phone: +91984652





On Thu, Mar 27, 2014 at 1:54 AM, Juan Ignacio Vaccarezza 
juanvaccare...@gmail.com wrote:

 Hi
   Im reading and following the documentation of spec from the new site,
   And the second example goes:

 ListModel new
 items: Smalltalk classes
 openWithSpec.

 And that does not work.
 Instead of that I did:

 (ListModel new
 items: Smalltalk allClasses )
 openWithSpec.

 And worked perfectly.

 I hope it helps improving the documentation.

 Regards, and thanks for the good work.

 Juan.




 On Fri, Feb 28, 2014 at 8:34 PM, Benjamin 
 benjamin.vanryseghem.ph...@gmail.com wrote:

 I would love too :)

 But as always it takes time.

 I try to do my best to offer an easy to read yet useful documentation.
 Let's hope we can make it :)

 Ben

 On 28 Feb 2014, at 19:54, kmo vox...@gmail.com wrote:

 This is really good and very well done and can only get better over time.

 I'd like to see a complete API and description of every Spec Model added
 to
 the site and there needs to be multiple examples so that the whole range
 of
 widgets and interface types are shown.

 Brilliant start, though.



 --
 View this message in context:
 http://forum.world.st/Spec-website-nice-tp4746941p4747048.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.






[Pharo-users] Problems while loading Magritte to pharo2.0

2013-11-20 Thread Thushar G R
Hi All,

I encounter problems while installing magritte3 from the configurations
browser. While loading, it removes #trimBoth #trimRight etc. messages from
String. I wonder if anyone else is experiencing the problem.


Thanks already,

thushar


[Pharo-users] JNIPort - How to load this in pharo?

2013-10-16 Thread Thushar G R
Hi All,

I was trying to load JNIPort in pharo , from

 MCHttpRepository
location: 'http://www.squeaksource.com/JNIPort'
user: ''
password: ''


Its raising some bugs regarding missing .mcz files in the repo. I wonder if
sommone is useing it already, and are willing to share info about loading
it to the image.

My objective is feasibility study.

Thanks in advance.

Thushar


Re: [Pharo-users] JNIPort - How to load this in pharo?

2013-10-16 Thread Thushar G R
Hi Bernat,
I got the image, used the same settings to initialize JVM in Pharo2.0
image, and i got the random long working. Its a start.

 Thanks a lot.
Thushar



thuchu


On Wed, Oct 16, 2013 at 1:27 PM, Bernat Romagosa 
tibabenfortlapala...@gmail.com wrote:

 I've replied to your Stack Overflow thread. Hope it helps!


 2013/10/16 Thushar G R thushar...@gmail.com

 Hi All,

 I was trying to load JNIPort in pharo , from

  MCHttpRepository
 location: 'http://www.squeaksource.com/JNIPort'
  user: ''
 password: ''


 Its raising some bugs regarding missing .mcz files in the repo. I wonder
 if sommone is useing it already, and are willing to share info about
 loading it to the image.

 My objective is feasibility study.

 Thanks in advance.

 Thushar




 --
 Bernat Romagosa.



[Pharo-users] Possible problem with WAFileMetadataLibrary

2013-06-29 Thread Thushar G R
Hi,

I was using WAFileMetadataLibrary and i found a possible issue with*
**addFileAt:
aPath relativeToRootDirectory: relativeRootDirectory*.

The problem i encountered is that some css with(../img/someImage.png) was
getting pointed towards
*http://localhost:8080/files/img/someImage.png*

rather than

*http://localhost:8080/files/MyWAFileMetadataLibrary/img/someImage.png*

upon further looking into the code i found that in *addFileAt: aPath
relativeToRootDirectory: relativeRootDirectory.*
*
*
there is a line

*relativeFilepath := relativeFilepath replaceAll: pathSeparator  with:'/'. *
*
*
here i found that the path with '\' *(im in wondows)* will not be replaced
with '/'.

so i had override and change the line to

*relativeFilepath := relativeFilepath replaceAll: pathSeparator first with:
$/.*
*
*
which worked for me, and the calls from css got pointed to

*http://localhost:8080/files/MyWAFileMetadataLibrary/img/someImage.png.*
*
*
Could anyone in the community pls verify it and let me know if i am not
further messing things up  , and if its ok, pls could you correct
*WAFileMetadaLibrary
*accordinly?


Thanks in Advance,

G R Thushar

PS: I think my mails are not reaching you. So i am posting the same in
stackoverlow too. I hope thats ok.
*
*


[Pharo-users] Motecello repository not committing methods(resources) of WAFileLibrary subclass

2013-06-26 Thread Thushar G R
I find that WAFileLibrary subclasses resource methods cannot be committed
to Monticello repository. Is this normal? These resources have been added
by the WAFileLibrary-addFilesIn:method. But when i try to create another
method and then commit, i find that the new method gets committed and that
i can load it on a different image without issues. So then i filed out the
WAFileLibrary subclass , and removed it from the image, and then i again
filed it in. After when i commit, all the resource method gets committed
and its seems things are fine.

But why am i not able to commit it soon after creating the class , adding
resources by addFilesIn: as such?

Also i find that someone else have reported same issue in squeak list.

http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.seaside/27891


Thanks,


Thushar


Re: [Pharo-users] Questions about Magma

2013-06-05 Thread Thushar G R
Hi ,


@Stéphane Ducasse
I will definitely give mango DB a try. I was using GLORP since a very long
time (not in pharo) so when i looked at magma i got interested. So all
other options stayed  back for later in my list.

@Stuart Herring
The changes as far as i know is related to SystemAnnouncer , FileReference
and the vm parameterAt: . So what i plan to do is to load all the latest
stuff a
from ss3.gemstone.com/ss/MaBase Ma-Client-Server Magama , make the changes
and run the tests , with *MagmaTestCase fullSuite maDebug*

Hopefully i may get some bugs which i can fix...else i will be contacting
the author. I hope Chriss muller will be reading this...and correcting me
if i wrote something wrong.

Thanks to all.

Thushar



thuchu


On Wed, Jun 5, 2013 at 5:30 AM, Stuart Herring
st-li...@stuartherring.comwrote:

 Hi Thushar,

 Magma's developer mostly uses Squeak, so the latest version of Pharo
 that Magma works more or less out-of-the-box on is 1.3.
 I made a start on porting it to 1.4, and then 2.0 but then promptly
 ran out of time.  However, as far as I'm aware the porting should
 mostly consist of the change to SystemAnnouncer, and Filesystem as you
 mentioned.
 Magma has a pretty comprehensive test suite, so it should be
 relatively easy to verify any porting effort.

 I know that people seem to be gravitating towards other solutions, as
 Stéphane mentioned, but Magma is still an excellent tool, and is
 ridiculously simple to use.  I like it enough that for my own
 projects, I'm still using Pharo 1.3 so I can use it, until the desire
 to use 2.0 and beyond finally pushes me into completing my porting
 effort ;)

 If you do want to give the porting a go yourself, I'd suggest posting
 to the Magma list.  Chris is very supportive of porting efforts.

 Regards,
 Stuart

 On 4 June 2013 22:32, Thushar G R thushar...@gmail.com wrote:
  Hi all,
 
 
  I am new here in this list. I have already asked this question in stack
  overflow, but not much luck. So i thought ill contact the gurus directly.
 
  I am considering Magma to be used for one of my projects , which is
 nothing
  but a custom game center to connect my game and store user details and
  retrieve it. This would be the first time that i will be using pharo for
 one
  of my projects ( in fact this is the first time that i am able to decide
 for
  my self - the client has not preferences in terms of technology
 selection).
 
  So my concern is this, is Magama upgraded to be used in Pharo 2.0? What
 if i
  load it  and change the SystemChangeNotifiers with SystemAnnouncer and
 so on
  , will it cause any trouble in the future. I Appreciate any comments for
  this.
 
 
  Regards
 
  thushar




[Pharo-users] Questions about Magma

2013-06-04 Thread Thushar G R
Hi all,


I am new here in this list. I have already asked this question in stack
overflow, but not much luck. So i thought ill contact the gurus directly.

I am considering Magma to be used for one of my projects , which is nothing
but a custom game center to connect my game and store user details and
retrieve it. This would be the first time that i will be using pharo for
one of my projects ( in fact this is the first time that i am able to
decide for my self - the client has not preferences in terms of technology
selection).

So my concern is this, is Magama upgraded to be used in Pharo 2.0? What if
i load it  and change the SystemChangeNotifiers with SystemAnnouncer and so
on , will it cause any trouble in the future. I Appreciate any comments for
this.


Regards

thushar