. .

smalltalk

Aida 6.5 Released

27 August 2012 8:36:09 PM

Aida/Web 6.5 is out:

Summer Edition of Aida/Web framework and application server is here with bunch of new features

Technorati Tags:

posted by James Robertson

 Share Tweet This

st4u

ST 4U 276: Stdin/Stdout with Pharo

27 August 2012 10:06:41 AM

Today's Smalltalk 4 You looks at using stdin/stdout in Pharo. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:

stdout

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

Technorati Tags: , , ,

Enclosures:
[st4u276-iPhone.m4v ( Size: 1995159 )]

posted by James Robertson

 Share Tweet This

smalltalk

Camp Smalltalk Begins at ESUG 2012

25 August 2012 7:23:13 PM

Craig Latta:

Huge thanks to yesplan.be for hosting Camp Smalltalk at ESUG 2012 in Gent, Belgium! I walked in and connected my computer to a humongous display and wireless keyboard/mouse, and connected myself to a humongous pile of speculoos, koffie, and Belgian chocolate. :)  All while a charming street festival went on outside. This is the perfect recipe for classic code!

Technorati Tags:

posted by James Robertson

 Share Tweet This

st4u

ST 4U 275: Deploying Web Services in VA Smalltalk

24 August 2012 10:11:45 AM

Today's Smalltalk 4 You puts the pieces together on WS* in VA Smalltalk - we'll deploy our simple example. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:

Web Services.

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:


Today we'll go back to the Web Services example we had been building in VA Smalltalk. To get started, recall the simple example we'll be using - a "counter" class:

Example

The first thing we'll need is a server to listen on a port. Start that this way:


server := SstHttpServerExample
        runAt: 'http://:7777'

        in: ('C:\Program Files\Instantiations\VA Smalltalk\8.5\xml').

The file path should be to wherever you have VA looking for the XML files, as specified in your ini file.

If you do that correctly, you should see a console window like the following appear:

Listener

That window will log what's happening, so if anything goes wrong, you can examine the results. Next, you'll need to deploy the container for your WS* application:


SstWSContainer clearAll.

"create server container" 

[ | aContainer  | 
aContainer := SstWSContainer
        createContainerNamed:  'ServerContainer'
         using: (SstWSContainerConfiguration defaultConfiguration).
        aContainer startUp.
        aContainer deploy:   'http://localhost:7777/CounterServer.xml'] fork.


You should see some reporting in the server log after doing this:

Listener

Now, we are ready to actually set up and invoke the code through a client. Here's the code for that:


"create client container" 

[ "| cContainer counterService |"
    cContainer := SstWSContainer
        containerNamed:  'ClientContainer'
        ifNone: [SstWSContainer createContainerNamed: 'ClientContainer'].
        cContainer deploy:   'http://localhost:7777/CounterClient.xml'.


   "two ways to retrieve the service from the client" 

   "counterService := (SstWSContainer 
		containerNamed: 'ClientContainer') allServices first. "
   counterService := (SstWSContainer containerNamed: 'ClientContainer') 
	serviceNamed: 'Counter' inNamespace: 'http://www.Counter.com/Counter-impl'.

   "result should be the string returned from the Counter class methods" 

   (counterService addValue: '5') inspect.
   (counterService subtractValue: '10' ) inspect  ] fork.

Notice the lines at the end where we invoke the service. If everything went well, you'll see two signs that it all worked - lines in the Transcript from the code, and more entries in the log:

Worked

Worked

Finally, if you want to experiment with the example, you may need the following "clean up" code - to clear out your listeners and start fresh:


(SstWSContainer containerNamed: 'ServerContainer') shutDown.

(SstWSContainer containerNamed: 'ClientContainer') shutDown

Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.

Technorati Tags: , ,

Enclosures:
[st4u275-iPhone.m4v ( Size: 4509257 )]

posted by James Robertson

 Share Tweet This

smalltalk

Newspeak on Dart?

23 August 2012 8:16:09 PM

Sounds like hosting on Dart is a better idea than on Javascript. However, does any browser other than Chrome actually support Dart directly?

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This

js4u

JS 4U 198: Maps and Events 1

23 August 2012 7:26:05 AM

Javascript 4 U

Today's Javascript 4 You starts looking at how to hook up event listeners in the context of the Javascript Google Maps API. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube.

Join the Facebook Group to discuss the tutorials. You can view the archives here.

To watch now, click on the image below:

Maps

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

JS 4U 198: Maps and Events 1 Using the Google maps API, it's easy to hook up simple event listeners javascript, maps, events 0:40 1149089 http://archive.org/details/Js4u198MapsAndEvents1 http://archive.org/download/Js4u198MapsAndEvents1/js4u198.wmv http://archive.org/download/Js4u198MapsAndEvents1/js4u198-iPhone.m4v http://archive.org/download/Js4u198MapsAndEvents1/js4u198.mp4 http://youtu.be/gHddL9S-hC0

Technorati Tags: , ,

Enclosures:
[js4u198-iPhone.m4v ( Size: 1149089 )]

posted by James Robertson

 Share Tweet This

smalltalk

CodeCity Now in Pharo

22 August 2012 1:52:12 PM

CodeCity started out in VisualWorks, but issues around Cincom's licensing have driven the development efforts to Pharo. The toolset is not open source, which means that people are choosing to use Pharo for proprietary, commercially oriented work.

If you want to see the tools in action, grab the video (wmv format)

Technorati Tags: ,

posted by James Robertson

 Share Tweet This

news

News You Can Use

22 August 2012 9:12:09 AM

Maybe that last 18 months of college (way, way back when :) ) was good for me:

But today new research being released at the annual meeting of the American Sociological Association reports that college students who binge drink are happier than those who do not.

Technorati Tags:

posted by James Robertson

 Share Tweet This

st4u

ST 4U 274: Examining the WS* XML Files in VA

22 August 2012 7:44:41 AM

Today's Smalltalk 4 You looks at the the XML files produced by the VA Smalltalk Web Services libraries, and where you'll need to modify them for your own use.. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:

XML Files.

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:


Today we'll take a look at the XML files generated by the VA Web Services support code, and we'll get to using it all next time. You might want to download the XML files here.

WS* Support

Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.

Technorati Tags: , ,

Enclosures:
[st4u274-iPhone.m4v ( Size: 4277034 )]

posted by James Robertson

 Share Tweet This

js4u

JS 4U 197: Map Projections

21 August 2012 7:13:12 AM

Javascript 4 U

Today's Javascript 4 You looks at the map projections in the Google maps API. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube.

Join the Facebook Group to discuss the tutorials. You can view the archives here.

To watch now, click on the image below:

maps

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

Technorati Tags: ,

Enclosures:
[js4u197-iPhone.m4v ( Size: 3461836 )]

posted by James Robertson

 Share Tweet This

st4u

ST 4U 273: Configuring VA Toolbars

20 August 2012 7:42:33 AM

Today's Smalltalk 4 You looks at configuring the toolbars in the VA Smalltalk development environment. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:

Toolbars.

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:


The VA tools have a lot of options on the toolbars, but what if you want more? For instance, what if you really want to be able to open a browser from the workspace? Under Options on the Launcher, pull right at Toolbars:

Toolbars

Select a tool in the menu, then move options to on or off. Be careful with the mouse wheel; it's easy to change the menu when you intend to scroll through options:

options

Now, open a new workspace after adding the Class Browser icon - you should see your toolbar item:

changed toolbar

Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.

Technorati Tags: , ,

Enclosures:
[st4u273-iPhone.m4v ( Size: 3312163 )]

posted by James Robertson

 Share Tweet This