[Pharo-users] PharoJs with JQuery/JQuery-ui

2022-05-06 Thread voxkmp
Hi - Can anyone give an example of how to use Jquery-ui in PharoJs? I would like to use PharoJs to generate a page with a jquery-ui Slider widget and process its events through its slide function. To give an illustration - what is the PharoJs equivalent to this javascript (in the $(document).r

[Pharo-users] PharoJS mobile development

2022-04-06 Thread danhunfeldz
# [Brain Treats App: Your Daily Dose of Fun Facts! – nootrix](https://nootrix.com/projects/brain-treats-app/) This is a PharoJS app for mobile devices. How do you use Cordova with PharoJS to develop for mobile apps?

[Pharo-users] PharoJS

2022-04-05 Thread danhunfeldz
Will PharoJS soon be updated for Pharo 10 or can you use the Pharo 9 install for 10?

[Pharo-users] PharoJS now runs on Pharo 8 :-)

2020-06-08 Thread N. Bouraqadi
Thanks to Ivo Roefs and Dave Mason ! Noury

[Pharo-users] PharoJS for Pharo 8 is out

2020-06-08 Thread Noury Bouraqadi
Thanks to Ivo Roefs and Dave Mason :-) Noury

Re: [Pharo-users] PharoJS Killer app

2017-07-01 Thread Joe Shirk
I think PharoJS can, and should do this much better: https://blockstack.org On Wed, Jun 28, 2017 at 11:21 PM, askoh wrote: > Norbert: > > Great answer. Spoken like a wise man. > > I want a web app to fill paper forms - like income tax forms say. The forms > are scanned or input into the app. The

Re: [Pharo-users] PharoJS

2017-06-28 Thread askoh
Norbert: Great answer. Spoken like a wise man. I want a web app to fill paper forms - like income tax forms say. The forms are scanned or input into the app. The developer provides the logic connecting the input and output fields of the forms. The users then use the app to fill their own forms, p

Re: [Pharo-users] PharoJS

2017-06-28 Thread askoh
Craig: Great news for Pharo. I presume it will be after you are done with Squeak running on SqueakJS. Do you have a roadmap. How will WebAssembly help or not with project? All the best, Aik-Siong -- View this message in context: http://forum.world.st/Re-PharoJS-tp4952267p4952832.html Sent fro

Re: [Pharo-users] PharoJS

2017-06-28 Thread Norbert Hartl
Sorry for being late with my reply. Comments at the bottom. > Am 22.06.2017 um 20:01 schrieb askoh : > > Norbert: > > I appreciate you explanation of Amber and PharoJS. I feel at a lost > understanding the plethora of Smalltalk + Web frameworks. Is there a place > where there is a pros and cons

Re: [Pharo-users] PharoJS

2017-06-27 Thread Craig Latta
Hi-- Aik-Siong writes: > Craig Latta is doing something interesting[1] with SqueakJS which is > an optimized Smalltalk VM in JavaScript and HTML5. It is supposedly > able to run Smalltalk fast inside the browser and access the > JavaScript world freely. I think this route will benefit great

Re: [Pharo-users] PharoJS

2017-06-26 Thread Stephane Ducasse
Excellent but it may take some time. You can probably use the 32 bit version to start porting. On Mon, Jun 26, 2017 at 10:16 PM, askoh wrote: > Stef: > > I hear you. I am waiting for Pharo 64bit on Windows to start porting some of > my work from VisualWorks 64bit. > > All the best, > Aik-Siong >

Re: [Pharo-users] PharoJS

2017-06-26 Thread askoh
Offray: Diversity is good. But we can get too much of a good thing. For example, I see merit in VisualWorks Appex where Smalltalk and JavaScript are both managed within the System Browser. Additionally, changes to JavaScript made in the Internet browser are picked up by VisualWorks. Now, Appex al

Re: [Pharo-users] PharoJS

2017-06-26 Thread askoh
Stef: I hear you. I am waiting for Pharo 64bit on Windows to start porting some of my work from VisualWorks 64bit. All the best, Aik-Siong -- View this message in context: http://forum.world.st/Re-PharoJS-tp4952267p4952642.html Sent from the Pharo Smalltalk Users mailing list archive at Nabbl

Re: [Pharo-users] PharoJS

2017-06-25 Thread Offray Vladimir Luna Cárdenas
I think that such diversity of tools is healthy and I wouldn't commit on killing anything. Projects would organically found ways of working together. Compared with other languages, I think that Pharo ecosystem is pretty cohesive. I would follow Steph's advice about choosing a theme/project and docu

Re: [Pharo-users] PharoJS

2017-06-24 Thread Stephane Ducasse
Askoh As soon as we will say something somene else will not be happy so I will comment on this. Now let us look at the trajectory: - Pharo is moving super fast - Daily improving - Large set of frameworks - Many companies SHARING bricks (Zinc, Mustache, Mustaside, ... and many many more). So pick

Re: [Pharo-users] PharoJS

2017-06-22 Thread askoh
Norbert: I appreciate you explanation of Amber and PharoJS. I feel at a lost understanding the plethora of Smalltalk + Web frameworks. Is there a place where there is a pros and cons comparison of frameworks: Seaside, SqueakJS, PharoJS, Amber, Caffeine, VisualWorks Appex, Illiad, Aida, Teapot, etc

Re: [Pharo-users] PharoJS

2017-06-22 Thread p...@highoctane.be
If one does Angular, one does it the Angular way, typescript and all. There is little point in doing PharoJS in Angular. Amber and Angular is also hard to do. Another issue with Amber is that it "compiles" to JS, and there are a ton of hard to read context handling code (try to debug that in a j

Re: [Pharo-users] PharoJS

2017-06-22 Thread Norbert Hartl
> Am 22.06.2017 um 17:53 schrieb Ben Coman : > > > > On Thu, Jun 22, 2017 at 9:38 PM, andrew glynn > wrote: > I was wondering: > > a) I'm assuming PharoJS would be much like Amber but inside the Pharo VM. > > I'm only slightly familiar with PharoJS, but I believe

Re: [Pharo-users] PharoJS

2017-06-22 Thread Ben Coman
On Thu, Jun 22, 2017 at 9:38 PM, andrew glynn wrote: > I was wondering: > > a) I'm assuming PharoJS would be much like Amber but inside the Pharo VM. > I'm only slightly familiar with PharoJS, but I believe its quite different... https://www.youtube.com/watch?v=XWd2mCQPZUU cheers -ben

Re: [Pharo-users] PharoJS

2017-06-22 Thread andrew glynn
owsers. -Original Message- From: askoh [mailto:as...@askoh.com] Sent: Thursday, June 22, 2017 10:41 AM To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] PharoJS There seem to be some interesting work with SqueakJS by Craig Latta. https://thiscontext.com/ I hope Smalltalk of al

Re: [Pharo-users] PharoJS

2017-06-22 Thread askoh
There seem to be some interesting work with SqueakJS by Craig Latta. https://thiscontext.com/ I hope Smalltalk of all dialects can get together to develop a killer web development environment. All the best, Aik-Siong Koh -- View this message in context: http://forum.world.st/Re-PharoJS-tp4952

Re: [Pharo-users] PharoJS

2017-06-22 Thread andrew glynn
I was wondering: a) I'm assuming PharoJS would be much like Amber but inside the Pharo VM. b) How much of the Amber codebase could be re-used for it? I'm interested on the one hand, mainly due to the demand for Angular code in the browser (jQuery is great in Seaside, but many clients are lookin

[Pharo-users] PharoJS: How to Talk to Server

2016-12-31 Thread Sean P. DeNigris
I downloaded the preloaded Pharo 4.0 image and PhoneGap and got the tests passing. The first question that popped up was: once you haveyour super cool client side app working, how do you communicate back and forth to the server? - Cheers, Sean -- View this message in context: http://forum.w

Re: [Pharo-users] PharoJS

2016-11-21 Thread Brad Selfridge
Hope it's a good one. - Brad Selfridge -- View this message in context: http://forum.world.st/PharoJS-tp4924045p4924061.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] PharoJS

2016-11-21 Thread p...@highoctane.be
There is a Pumpking pie release baking. Phil On Mon, Nov 21, 2016 at 7:29 PM, Brad Selfridge wrote: > Does anyone know what the state of PharoJS is? > > I am looking at working on a big node.js project and would like to see if I > could use PharoJS to do a lot of the work. > > > > - > Brad

[Pharo-users] PharoJS

2016-11-21 Thread Brad Selfridge
Does anyone know what the state of PharoJS is? I am looking at working on a big node.js project and would like to see if I could use PharoJS to do a lot of the work. - Brad Selfridge -- View this message in context: http://forum.world.st/PharoJS-tp4924045.html Sent from the Pharo Smallta

Re: [Pharo-users] PharoJS ESUG 2016 Demo files

2016-09-09 Thread Dimitris Chloupis
Talking about javascript , I have been taking a look at the new chat channel I created at Discord for Pharo, Discord has a node.js API for creating plugins, was wondering how well PharoJS works with Node.js and if I can use it for this scenario . On Fri, Sep 9, 2016 at 11:53 AM Noury Bouraqadi wr

[Pharo-users] PharoJS ESUG 2016 Demo files

2016-09-09 Thread Noury Bouraqadi
Hi, The Pharo 4.0 image + related files used in the PharoJS ESUG 2016 demo are now available for download at https://pharojs.github.io/faq.html#demoEsug2016 Best, Noury

Re: [Pharo-users] PharoJS - converting to Javascript error

2015-12-15 Thread Noury Bouraqadi
> On 14 Dec 2015, at 23:22, Stephan Eggermont wrote: > > On 14/12/15 23:09, Noury Bouraqadi wrote: >> But, even if we fix it, don't expect morphs to work on JS. >> PharoJS doesn't support graphic primitives... at least not in the near >> future :-) > > Connect to lively kernel? > PharoJS allo

Re: [Pharo-users] PharoJS - converting to Javascript error

2015-12-14 Thread Stephan Eggermont
On 14/12/15 23:09, Noury Bouraqadi wrote: But, even if we fix it, don't expect morphs to work on JS. PharoJS doesn't support graphic primitives... at least not in the near future :-) Connect to lively kernel? Stephan

Re: [Pharo-users] PharoJS - converting to Javascript error

2015-12-14 Thread Noury Bouraqadi
> On 14 Dec 2015, at 17:43, Smaran Rneu wrote: > > Hello. I am trying to convert my Pharo (4.0) classes to Javascript. > > I wrote a Pharo PBE-LightsOut application as book PBE. > Initially converted LOCell and LoGame classes. > Loaded these classes in a browser from an index.html and accused l

[Pharo-users] PharoJS - converting to Javascript error

2015-12-14 Thread Smaran Rneu
Hello. I am trying to convert my Pharo (4.0) classes to Javascript. I wrote a Pharo PBE-LightsOut application as book PBE. Initially converted LOCell and LoGame classes. Loaded these classes in a browser from an index.html and accused lack of SimpleSwitchMorph, SimpleButtonMorph and BorderedMorph.

Re: [Pharo-users] PharoJS Status

2015-12-02 Thread craig
Hi Sebastian, I did get the JbDemoApplication to run in the browser. The concepts seem simple enough. Thank you for your assistance. The next step for me was to run "JbSmalltalkToJavaScriptExporter exportClasses: {JbDemoApplication. JbApplication} packages: #() inNewFileNamed: 'demo.js'"

Re: [Pharo-users] PharoJS Status

2015-11-30 Thread Sebastian Heidbrink
0 5:48 PM (GMT+02:00) To: Any question about pharo is welcome Subject: Re: [Pharo-users] PharoJS Status Just tested with a fresh image and it worked. Noury On 30 Nov 2015, at 16:37, Andy Burnett <mailto:andy.burn...@knowinnovation.com>> wrote: >>> Craig said Hi All, I

Re: [Pharo-users] PharoJS Status

2015-11-30 Thread craig
1/30 5:48 PM (GMT+02:00) > To: Any question about pharo is welcome > Subject: Re: [Pharo-users] PharoJS Status > > Just tested with a fresh image and it worked. > > Noury > >> On 30 Nov 2015, at 16:37, Andy Burnett >> wrote: >> >>>>

Re: [Pharo-users] PharoJS Status

2015-11-30 Thread craig
welcome Subject: Re: [Pharo-users] PharoJS Status Just tested with a fresh image and it worked. Noury On 30 Nov 2015, at 16:37, Andy Burnett wrote: >>> Craig said Hi All, I'd like to start messing around with PharoJS.  Can anybody tell what the status is?  (Stable, broken, etc.) An

Re: [Pharo-users] PharoJS Status

2015-11-30 Thread Noury Bouraqadi
Just tested with a fresh image and it worked. Noury > On 30 Nov 2015, at 16:37, Andy Burnett > wrote: > > >>> Craig said > Hi All, > > I'd like to start messing around with PharoJS. Can anybody tell what > the status is? (Stable, broken, etc.) > > And, which Pharo version should I use for t

Re: [Pharo-users] PharoJS Status

2015-11-30 Thread Andy Burnett
>>> Craig said Hi All, I'd like to start messing around with PharoJS. Can anybody tell what the status is? (Stable, broken, etc.) And, which Pharo version should I use for this? <<< I have just started playing with it. I have had some difficulty getting a running image. Following the instructi

[Pharo-users] PharoJS Status

2015-11-30 Thread Craig Johnson
Hi All, I'd like to start messing around with PharoJS. Can anybody tell what the status is? (Stable, broken, etc.) And, which Pharo version should I use for this? Craig

Re: [Pharo-users] PharoJS

2015-08-07 Thread Noury Bouraqadi
The only connection is that they share the same goal of converting Smalltalk code to JavaScript. Noury > On 07 Aug 2015, at 21:02, H. Hirzel wrote: > > Is PharoJS related to / based on > > http://www.squeaksource.com/@45sUWABDUdZM7Og0/Uycfg_AQ > > > ST2JS - Traductor de Smalltalk a JavaScrip

Re: [Pharo-users] PharoJS

2015-08-07 Thread H. Hirzel
Is PharoJS related to / based on http://www.squeaksource.com/@45sUWABDUdZM7Og0/Uycfg_AQ ST2JS - Traductor de Smalltalk a JavaScript http://diegogomezdeck.blogspot.com/2006/07/st2js-traductor-de-smalltalk.html Las características de JavaScript mencionadas anteriormente, usadas con picardía, permi

Re: [Pharo-users] PharoJS

2015-07-19 Thread Noury Bouraqadi
> On 19 Jul 2015, at 04:24, Sean P. DeNigris wrote: > > Noury Bouraqadi-2 wrote >> As I showed at ESUG..., it allows building a simple form app for >> smartphones using PhoneGap. > > Ah, very cool use case. Is there a video? > I'm travelling these days. I'll do it ASAP. > > Noury Bouraqadi-2

Re: [Pharo-users] PharoJS

2015-07-18 Thread Sean P. DeNigris
Noury Bouraqadi-2 wrote > As I showed at ESUG..., it allows building a simple form app for > smartphones using PhoneGap. Ah, very cool use case. Is there a video? Noury Bouraqadi-2 wrote > (we missed you BTW) I just got married, but hopefully will be back next year. Much of my work seems to be

Re: [Pharo-users] PharoJS

2015-07-18 Thread Noury Bouraqadi
> On 17 Jul 2015, at 17:21, Sean P. DeNigris wrote: > > Noury Bouraqadi-2 wrote >> The main difference is that with PharoJS we develop and test in Pharo, >> with the confort of all cool tools such as the GT inspector, spotter :-) > > Wow!!! That is my main pain point with Amber. Unless one is

Re: [Pharo-users] PharoJS

2015-07-17 Thread Sean P. DeNigris
Noury Bouraqadi-2 wrote > The main difference is that with PharoJS we develop and test in Pharo, > with the confort of all cool tools such as the GT inspector, spotter :-) Wow!!! That is my main pain point with Amber. Unless one is very disciplined with TDD, the linkage between the app loaded in

Re: [Pharo-users] PharoJS

2015-07-16 Thread Noury Bouraqadi
> On 15 Jul 2015, at 15:37, Andy Burnett > wrote: > > One question. When I execute 1+1 on the Pharo (pink) playground, I see the > code appearing in the web browser log, but it doesn't appear to execute. Is > it supposed to, or at this stage is it just showing that it made it over to > the

Re: [Pharo-users] PharoJS

2015-07-15 Thread Ben Coman
On Wed, Jul 15, 2015 at 5:28 PM, Torsten Bergmann wrote: > Clément Bera wrote: > >>What is PharoJS ? Are you talking about Pharo on top of the Bert's SqueakJS >>VM ? >>If so, it starts, but some primitives fail making it freeze after a short >>while as you describe. >>It would be fun to have it r

Re: [Pharo-users] PharoJS

2015-07-15 Thread Andy Burnett
Hi Noury, Thanks for the link to the documentation. I have managed to get up and running now - very cool! One question. When I execute 1+1 on the Pharo (pink) playground, I see the code appearing in the web browser log, but it doesn't appear to execute. Is it supposed to, or at this stage is it j

Re: [Pharo-users] PharoJS

2015-07-15 Thread Noury Bouraqadi
Thanx Torsten for the fix. I integrated it :-) Noury > On 15 Jul 2015, at 12:42, Torsten Bergmann wrote: > > Hi Noury, > > thanks for the feedback. For windows to open a URL one can use: > > NBWin32Shell shellOpen: 'http://www.google.de' > > I adopted the > > startJavaScriptInterpre

Re: [Pharo-users] PharoJS

2015-07-15 Thread Noury Bouraqadi
> On 15 Jul 2015, at 12:34, Sean P. DeNigris wrote: > > Noury Bouraqadi-2 wrote >> Regarding the naming PharoJS is more than a bridge. It allows: >> -Develop and test apps in Pharo >> -Generate a javascript file for a standalone app > > How does it compare to Amber? Similar use case? > The mai

Re: [Pharo-users] PharoJS

2015-07-15 Thread Clément Bera
2015-07-15 12:34 GMT+02:00 Sean P. DeNigris : > Noury Bouraqadi-2 wrote > > Regarding the naming PharoJS is more than a bridge. It allows: > > -Develop and test apps in Pharo > > -Generate a javascript file for a standalone app > > How does it compare to Amber? Similar use case? > > The resulting

Re: [Pharo-users] PharoJS

2015-07-15 Thread Torsten Bergmann
Hi Noury,   thanks for the feedback. For windows to open a URL one can use:     NBWin32Shell shellOpen: 'http://www.google.de'   I adopted the      startJavaScriptInterpreter    |url|     url := 'http://localhost:', self port asString.     Smalltalk os isWindows ifTrue: [ ^NBWin32Shell she

Re: [Pharo-users] PharoJS

2015-07-15 Thread Sean P. DeNigris
Noury Bouraqadi-2 wrote > Regarding the naming PharoJS is more than a bridge. It allows: > -Develop and test apps in Pharo > -Generate a javascript file for a standalone app How does it compare to Amber? Similar use case? - Cheers, Sean -- View this message in context: http://forum.world.s

Re: [Pharo-users] PharoJS

2015-07-15 Thread Noury Bouraqadi
Hi Torsten, Thanks for the feedback. I have been pushed to make it public right before ESUG. I'm trying my best to make it clean and documented. If you are using a Mac, the examples I provide on http://car.mines-douai.fr/pharojs/ should work out of the bo

[Pharo-users] PharoJS Documentation

2015-07-15 Thread Noury Bouraqadi
Hi, I started a documentation on how to use PharoJS at http://car.mines-douai.fr/pharojs/. So, far it covers: - download/ install, - evaluate expressions in the PharoJS workspace and see them perform on a web browser - running tests in Pharo (e.g. using the plain TestRunner) that perform some

[Pharo-users] PharoJS

2015-07-15 Thread Torsten Bergmann
Clément Bera wrote: >What is PharoJS ? Are you talking about Pharo on top of the Bert's SqueakJS VM >? >If so, it starts, but some primitives fail making it freeze after a short >while as you describe. >It would be fun to have it running even though most of the Pharo folks went >into the Amber di

Re: [Pharo-users] PharoJS

2015-07-15 Thread Alexandre Bergel
PharoJS is a Pharo -> JavaScript compiler. It also features a support for websocket in order to maintain a connection to a web browser within Pharo. Pretty cool stuff! Cheers, Alexandre > On Jul 14, 2015, at 8:26 PM, Clément Bera wrote: > > What is PharoJS ? Are you talking about Pharo on to

Re: [Pharo-users] PharoJS

2015-07-14 Thread Andy Burnett
Hi guys, It is a project from Noury - at the Mines school. Just do a google for Noury and PharoJs I found out about it from Torsten's blog - always worth reading :-) AIUI, what it does is convert Pharo code - in the fly - to JavaScript. I can't say much more because I haven't got it to run. Ho

Re: [Pharo-users] PharoJS

2015-07-14 Thread Clément Bera
What is PharoJS ? Are you talking about Pharo on top of the Bert's SqueakJS VM ? If so, it starts, but some primitives fail making it freeze after a short while as you describe. It would be fun to have it running even though most of the Pharo folks went into the Amber direction for Pharo on Javas

Re: [Pharo-users] PharoJS

2015-07-14 Thread Esteban A. Maringolo
Where can I download it? Regards! Esteban A. Maringolo 2015-07-13 22:26 GMT-03:00 Andy Burnett : > Is anyone experimenting with PharoJS? > > I managed to get the page with the core javascript functions to load - as > localhost - but I couldn't get any of the actions in the workspace to have > a

[Pharo-users] PharoJS

2015-07-13 Thread Andy Burnett
Is anyone experimenting with PharoJS? I managed to get the page with the core javascript functions to load - as localhost - but I couldn't get any of the actions in the workspace to have any effect on the web browser console. Has anyone had any success? Cheers Andy