tag:blogger.com,1999:blog-83525096368323886942009-03-02T08:40:22.647+01:00Aiding the WebLeveraging the web with Smalltalk and AIDA/Web.Damirnoreply@blogger.comBlogger9125tag:blogger.com,1999:blog-8352509636832388694.post-46891179139941291282008-02-05T13:00:00.000+01:002008-02-05T12:15:28.758+01:00Aida/Web soon with Scribo - opensource CMS platformCurrent development of Aida/Web is geared towards opensourcing part of Aida/BiArt CMS platform into package called <b>Scribo</b>. With Scribo you'll be able to create blogs, wikis, web sites and templates in practically no time.<br /><br />To get a taste what can be done with Scribo, check <a href="http://nico.bioskop.fr/">Nicolas blog</a>. It's written on top of it.<br /><br />Also, AIDA/Web just bumped version number up to 5.6-stable and is featuring some very interesting stuff:<br /><br /><ul><br /><li>robust and seamless Ajax support, you won't even notice that you are doing Ajax!</li><br /><li>integrated Ajax libraries Prototype and Scriptaculous</li><br /><li>reliable and performant serving directly to the Internet,</li><br /><li>multilingual support for serving domain objects in many languages,</li><br /><li>WYSIWYG editor support (TinyMCE),</li><br /><li>strong WebGrid support with Ajax sorting and filtering,</li><br /><li>tabulation with ENTER key,</li><br /><li>real-time statistics including referrers,</li><br /><li>Joomla template support with Mitra template included.</li><br /></ul><br /><br />Stay tuned, more of <a href="http://www.aidaweb.si">Aida/Web</a> is on the way!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8352509636832388694-4689117913994129128?l=www.aidingtheweb.com'/></div>Damirnoreply@blogger.com0tag:blogger.com,1999:blog-8352509636832388694.post-43138582239416387622007-12-13T14:25:00.000+01:002007-12-13T14:37:22.924+01:00Aida/Web updatesJanko has been busy lately, Aida/Web got some <a href="http://www.aidaweb.si/logo/proposals.html">logo proposals</a>.<br /><br />Also, new project is getting started, <a href="http://www.aidaweb.si/news/07/24-11/job-aidaweb-crm.html">opensource CRM system</a> written on Aida/Web framework. If you wish to participate, contact <a href="mailto:janko.mivsek@eranova.si">Janko</a>. The project will officialy start in January 2008.<br /><br />Happy holidays from the sunny side of the Alps!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8352509636832388694-4313858223941638762?l=www.aidingtheweb.com'/></div>Damirnoreply@blogger.com0tag:blogger.com,1999:blog-8352509636832388694.post-10390142896886553212007-10-22T08:42:00.000+02:002007-10-22T08:55:35.326+02:00Aida/Web presentation in KiberpipaOn Tuesday 23th of October (ie. tomorrow :-) Janko will be giving Aida/Web <a href="http://www.kiberpipa.org/index.php?name=News&file=article&sid=872">presentation</a> in <a href="http://www.kiberpipa.org">Kiberpipa</a> (Ljubljana, Slovenia).<br /><br />From <a href="http://www.aidaweb.si">Aida's site</a>:<br /><blockquote>AIDA/Web is a web server and framework for complex web applications with integrated Ajax support, rich collection of web components to build web pages programatically, MVC-like separation of presentation from domain, nice looking and bookmarkable url links, with integrated session and security management and many more.<br /><br />AIDA/Web is known by its simplicity but still allows building most demanding web applications of many sorts. It has everything you need for a real web app, together with Ajax.<br /><br />It is also a mature one, running web apps in production since 1996. It is used in many intranet business apps from Gas billing system for all gas in Slovenia to logistics management system called e-logis and recently a CMS like system for Quality and Business process management.</blockquote><br /><br />The talk will start at 7pm. See you there!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8352509636832388694-1039014289688655321?l=www.aidingtheweb.com'/></div>Damirnoreply@blogger.com0tag:blogger.com,1999:blog-8352509636832388694.post-89751539902430091692007-10-11T13:22:00.000+02:002007-10-11T13:28:33.772+02:00TimeoutI'm short on time, so this billing application will have to wait for a few more days. Reality kicked in...<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8352509636832388694-8975153990243009169?l=www.aidingtheweb.com'/></div>Damirnoreply@blogger.com0tag:blogger.com,1999:blog-8352509636832388694.post-84228450551861747202007-09-27T10:05:00.000+02:002007-09-27T10:16:36.081+02:00Debian etch font issueWhile updating my image with latest Swazoo and AIDA/Web (from Cincoms public repository) on Debian etch, I got some weird font errors.<br /><br />Soon I got a tip on #smalltalk I should try to 'rehash' my fonts <span style="font-weight:bold;">before</span> starting Smalltalk:<br /><blockquote>xset fp rehash</blockquote><br />Starting Smalltalk after this command, update process finished without errors.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8352509636832388694-8422845055186174720?l=www.aidingtheweb.com'/></div>Damirnoreply@blogger.com0tag:blogger.com,1999:blog-8352509636832388694.post-3232907776487794762007-09-27T09:50:00.000+02:002007-09-27T09:41:15.959+02:00Update your imageBefore we start writing our <a href="http://www.aidingtheweb.com/2007/09/first-dip.html">billing application</a>, let's update our image software packages to their latest versions. Two pieces of software we'll use are Swazoo (Smalltalk Web Application Zoo) web server and of course AIDA/Web framework itself.<br /><br />From the menu in main window select <span style="font-style:italic;">Store>Connect to Repository</span>. From Connection Profile choose <span style="font-style:italic;">Cincom Public Repository</span> and click <span style="font-style:italic;">Connect</span>:<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_VgNtOPjN2Hk/RvpFUXdVYRI/AAAAAAAAAA0/S4gQ8hqZ54g/s1600-h/connectDB.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_VgNtOPjN2Hk/RvpFUXdVYRI/AAAAAAAAAA0/S4gQ8hqZ54g/s320/connectDB.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5114476543029371154" /></a><br /><br />You are now connected to CVS-like repository from where you can update your image software packages. Choose <span style="font-style:italic;">Store>Published Items</span>. A window should pop-up showing repository contents. In the upper left field (Bundles and Packages) type 'swazoo'. Select topmost bundle from the left window and <span style="font-style:italic;">Version (2.0.1, mivsek)</span>. Right click on version item and select <span style="font-style:italic;">Load</span>.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_VgNtOPjN2Hk/RvpHXHdVYSI/AAAAAAAAAA8/RiAz5O5sOkQ/s1600-h/repo.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_VgNtOPjN2Hk/RvpHXHdVYSI/AAAAAAAAAA8/RiAz5O5sOkQ/s320/repo.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5114478789297266978" /></a><br /><br />Now wait till Swazoo gets updated. Let me remind you this is live image you're updating. You better have a backup image ready just in case. ;-)<br />Ok, when done, repeat the same procedure for AIDA/Web bundle. Start typing aida in the search field and you'll see AIDA/Web on top of the list in the left window. Select it, select Version 5.4.0, rightclick and <span style="font-style:italic;">load</span> it into image.<br /><br />When done and if there are no errors in Transcript window, you're image is updated. If for some reason you're image can't be smoothly updated, you can always ask people on AIDA/Web <a href="http://lists.aidaweb.si/mailman/listinfo/aida">mailing list</a> about your issue.<br /><br />With all this behind us, we're now ready to start writing our billing application. We'll start with domain model...<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8352509636832388694-323290777648779476?l=www.aidingtheweb.com'/></div>Damirnoreply@blogger.com0tag:blogger.com,1999:blog-8352509636832388694.post-59494013446935452182007-09-25T09:52:00.000+02:002007-09-25T11:30:08.629+02:00Backup your workWhat work? What backup? We haven't done anything yet!<br /><br />True, but the image (visualnc.im) you're running right now is the default image. It comes with installation. You really don't want to modify this image, as if you do something stupid (and believe me, you will...) you'd be left with corrupted image and no Smalltalk environment. Your only way out would be fresh install. After three or four re-installations, you get kind of sick of it.<br /><br />So, either copy the image file with new name or in File menu choose Save As and save image with different name. Also, good practice is to save your work after big changes. Or so they say...<br /><br />You can skip this step if you know what you're doing. But better be safe than sorry.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8352509636832388694-5949401344693545218?l=www.aidingtheweb.com'/></div>Damirnoreply@blogger.com2tag:blogger.com,1999:blog-8352509636832388694.post-71014387865153495872007-09-21T11:19:00.000+02:002007-09-25T09:36:31.524+02:00The tools of the craftSince I'm starting from scratch, I'll need some tools. First tool is Smalltalk itself. While there's lots of Smalltalk implementations, I chose VisualWorks on which AIDA/Web is developed and well supported.<br /><br />Let's got to Cincom's site and download VisualWorks-NonComercial (or VW-NC). It's <span style="font-weight:bold;">free</span> and it has <span style="font-weight:bold;">all features enabled</span>. Yes, you get it all for free!<br /><a href="http://www.cincomsmalltalk.com/userblogs/cincom/blogView?content=smalltalk">Follow this link</a> and click on '<span style="font-style:italic;">Proceed to the downloads now</span>'. We can register later (it's also free), now we just want the software.<br /><br />You'll see few options (Net installer, CD installer, ...). I tried Net installer few times and ftp connection always dies on me. So I suggest you download ISO image and burn it on CD. After selecting <span style="font-style:italic;">CD-based installer</span>, you can choose which version of VW-NC to download. I suggest you go with the latest version (in time of writing it's 7.5). Save the ISO file and burn it on CD.<br /><br />I'm doing this on Linux, but Windows of any recent kind should be ok. Insert newly burned CD and installer should pop up:<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_VgNtOPjN2Hk/RvO4T3dVYOI/AAAAAAAAAAU/hWrm7jdmJb4/s1600-h/installerA.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_VgNtOPjN2Hk/RvO4T3dVYOI/AAAAAAAAAAU/hWrm7jdmJb4/s320/installerA.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5112632653439656162" /></a><br /><br />Choose <span style="font-style:italic;">Typical Install</span> and click <span style="font-style:italic;">Next</span>. You'll see what will be installed, just click <span style="font-style:italic;">Next</span>. Licence agreement; read it and eventually choose <span style="font-style:italic;">I Accept</span>, then click <span style="font-style:italic;">Install</span>.<br /><br />Now sit back, sip your tea and wait for installer to finish. When done, you should get similar notice:<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_VgNtOPjN2Hk/RvO6_HdVYPI/AAAAAAAAAAc/j8xrO7w2sKo/s1600-h/installerB.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_VgNtOPjN2Hk/RvO6_HdVYPI/AAAAAAAAAAc/j8xrO7w2sKo/s320/installerB.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5112635595492253938" /></a><br /><br />Smalltalk needs to know where is installed so it can load various libraries and portions of code. For that, special environment variable VISUALWORKS must be set (bash version):<br /><br /><blockquote>export VISUALWORKS=/home/damir/vw7.5nc</blockquote><br /><br />Click OK and Exit the installer. You now have your Smalltalk installed! To run VisualWorks, go to installation directory (usualy ~/vw7.5nc on Linux) and run this command from the shell:<br /><br /><blockquote>bin/linux86/visual image/visualnc.im</blockquote><br /><br />You should now see two windows, Launcher and Helper:<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_VgNtOPjN2Hk/RvO9WndVYQI/AAAAAAAAAAk/FkCI-K3fyx8/s1600-h/firstrun.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_VgNtOPjN2Hk/RvO9WndVYQI/AAAAAAAAAAk/FkCI-K3fyx8/s320/firstrun.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5112638198242435330" /></a><br /><br />Congratulations, we're up and running! Time to party, gimme that beer...<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8352509636832388694-7101438786515349587?l=www.aidingtheweb.com'/></div>Damirnoreply@blogger.com0tag:blogger.com,1999:blog-8352509636832388694.post-37870952592371123762007-09-21T09:58:00.000+02:002007-09-21T15:01:54.641+02:00The first dipFor the last two years I've increasingly spent more and more time doing web programming. I'm quite comfortable with <a href="http://www.rubyonrails.com">RubyOnRails</a>, it's in my fingers. However, according to the <a href="http://paulgraham.com/avg.html">Blub</a> theory, I should look up and use more powerful tools.<br /><br />My next step is Smalltalk.<br /><br />I'll use Smalltalk for my future web programming. More specific, Cincom's <a href="http://smalltalk.cincom.com">VisualWorks</a> with <a href="http://www.aidaweb.si">AIDA/Web</a> framework by <a href="http://www.eranova.si">Eranova</a>.<br /><br />From what I've read and heard, VisualWorks Smalltalk is mature and stable, enterprise class software used by world's largest corporations. <br />AIDA/Web is a web framework, built with Smalltalk and used in production setups for almost a decade. And it's buzzword compliant.<br /> <br />I'm totaly new in world of Smalltalk. But I'm excited! From what I've seen, Smalltalk has many advantages over today's most popular choices (or companies best practices, if you will) used in web programming.<br /><br />Here, I'll try to document all steps taken during building web application with AIDA/Web framework. The application will be billing system for small companies. It should include as many aspects of niche as possible: issuing invoices, tax, customers list, notifying, XML import/export, PDF generation and whatever features should prove to be needed. <br /><br />Note, however, I haven't yet started writing this application. I don't event have required software installed. This is from-ground-up approach and I challenge you to follow me. Even more, I dare you to surpass me with your additions and features.<br /><br />So, get yourself a cup of tea and let's get started with our new billing application.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8352509636832388694-3787095259237112376?l=www.aidingtheweb.com'/></div>Damirnoreply@blogger.com2