There is still a little bit of time left to sign up for the SOLARUG April online meeting. I'll be discussing Web Widgets with Web Edition. You'll learn how to make that little clock on the SOLARUG site, plus I have another surprise widget in store... a Twitter scroller.
Orlando, USA, 24th and 25th Mai 2012: Real World is the biggest Real Studio meeting in the world. Three awesome days with probably more than 100 Real Studio developers to learn new things, exchange ideas and meet the people you only know from lists or forums. More than 85 attendees from 13 countries.
I want to tell you the story I had the last days with JSON classes:
We started with a need to use JSON for talking to a server. We were happy to see JSONItem class in Real Studio, but we soon realized it has problems. First it did not preserve the text encoding. All the strings we got back had no text encoding set. Well we eventually worked around that, but later we discovered that the JSONItem class is very very slow. We really didn't want to wait 10 seconds for a big JSON to be parsed. So we checked for alternatives. As the client uses both Einhugur and MBS plugins, we have also JSONNode from Einhugur and JSONMBS from MBS Plugins available. A little speed test for parsing shows that the plugins do the 10 second job in less than 0.1 seconds. The Einhugur class was a little bit faster then mine, so we tried JSONNode. But it turns out that JSONNode doesn't return strings with text encodings, too.
So finally we came to JSONMBS class. Our class is a little bit lower level as you get nodes for arrays or dictionaries which you don't see that way with the other classes. But well, our JSONMBS class has decent speed and handles encodings better. Still we need to call the unescape function manually to removes escapes.
So finally we have a solution and our parse method implemented with 3 different classes. Good if we have to switch again later
Today I created two shared folders on my dropbox account: MBS Real Studio Plugins and MBS Filemaker Plugins.
I'll put in the future new plugins there and if you like I can subscribe/invite you for this. And don't change the folders!
Dropbox is a nice way to sync files. Still I'd love to have a few advanced features. Like following a folder. So people can subscribe without asking me and see the folder with readonly access.
That would be nice to provide downloads in general, especially if the folder would be available over the web for public download.
as you may have seen, we uploaded Tree Size 3.1 and Logintime in menubar 1.1. Both updated for being Intel Mac apps so they run on Snow Leopard and Lion. Also we added little improvements recently. In the Login time app you can click the time to switch between login time and duration.
As the Real Studio projects are included, you can learn from us on how to make such applications. You need Real Studio 2011r4 with current MBS plugins.
Today we added a class for NSDatePicker, so you can now show date and time pickers in your Cocoa/Carbon app with our CocoaControlMBS control:
Please try the demo project in next plugins. You can set/get times and set various properties.
Tuesday, April 17, 2012 is the deadline to file taxes in the U.S., so to provide you with a little relief, Real Studio Developer Magazine is having a special one-day sale. On that day all orders over $25 are 20% off!
We're keeping this simple, with no gimmicks or absurd limitations. The 20% discount is valid for all our products: printed books, subscriptions, back issues, CDs, even subscription renewals! But this coupon is only good on April 17, 2012, so hurry to take advantage of our huge Tax Day Relief sale!
I had a client asking for more functions for NSTextViewMBS class. So with next plugins, we'll have a couple of new methods there including most important an insertText method. You can add normal strings, but also NSAttributedStringMBS object. This means you can read some file with data (RTF, Word Document, HTML, etc.) and insert it in some existing text. And of course you can create NSMutableAttributedStringMBS on the fly and set attributes. Also with new text storage access on the text view, you can set or get the text with attributes from the textview.
You can use our NSTextViewMBS class for both: Pimp an existing TextArea object in a Real Studio cocoa target or use the CocoaControlMBS control to add it to a Carbon or Cocoa window. So please check next plugins
Our filemaker documentation moved to new domain mbsplugins.eu which makes it possible that you can google for it in a few weeks (once it's indexed) and use "site:mbsplugins.eu" to search only the documentation. (like we have for Real Studio)
For this blog, we added a side bar for latest comments. I hope it's useful and you leave a comment from time to time...
The Real Studio meeting in London was great. Accounting is done and everything is paid. For your information: The event costed a little over 3000 Euro with a result of 500 Euro deficit which is our sponsoring subvention.
The Filemaker meeting yesterday in Bern was great. A nice round table, 6 people in total and I showed a few of my plugin features.
Did someone try the new VLC plugin for Real Studio? I got no feedback so far!
Our VLC plugin will be available soon with the next prerelease.
I updated it to VLC 2.0.1 and improved examples.
Also we are preparing some documentation for it.
Should be a nice easter present for Real Studio users
First version will simply give you access to the VLC API. You can play video with it and it's working nice on Mac and Windows. Linux probably, too, but I didn't try so far. Later we may add more convenience functions and maybe a video player control instead of using a Canvas.
As I just had a client asking for an example with Listbox's CellBackgroundPaint event. You can use this event to draw pictures in background as well as in each cell, like on this picture:
In order to draw a full picture in the listbox, simply draw portions of it in different cells.
And to draw custom picture in one cell or color background, simply use graphics class commands to do so in the same event. This is very powerful. You can color cells and draw them with round edges or other fancy things to give them a very unique look.
Download project here: ListboxCellBackgroundPaintExample.zip
Real World 2012, the Real Studio User's Conference
Real World, which will take place next month, is the biggest Real Studio event of the year! At the 2012 event you can attend informative educational sessions, network with your peers and gain industry insight all while enjoying the magic of Disney. Real World will take place May 24-25, 2012 in Orlando, Florida, one of the top recreational and conference destinations in the world! Real World will be hosted at the Royal Plaza, which boasts excellent amenities, including a beautiful pool area with poolside bar, spa, restaurant and lounge, and is conveniently located on the Walt Disney World property and is walking distance from Downtown Disney. Hotel rooms for Real World attendees will be charged at a negotiated rate of 99USD per night!
We already have over 85 people signed up from 13 countries, so reserve your spot today! Register now!
This conference will be jam-packed with important information about Real Studio and unique opportunities to network with your peers. At Real World you will have the opportunity to chat one-on-one with Real Studio engineers and put a face with a name you know from the NUG or Forums. You can also stop by our third party table and hear about what's new from our featured third party developers!
We would like to thank the Real World 2012 Sponsors: