Skip to content

Xojo Programming Blog Posts

Using Using

With Xojo 2015 Release 2, much of the new Xojo framework is now available for use in all project types. Because the new Xojo framework uses namespaces, you might want to take advantage of the Using command to help make your code easier to read and write.

But first, a brief aside about namespaces. The Xojo framework uses namespaces to provide better grouping of related features and to allow for classes with the same name to co-exist (Xojo.Core.Dictionary and Dictionary, for example). In fact, you can mix classic framework code and Xojo framework code together in the same method!

Comments closed

The New Xojo Framework: Ch-ch-ch-ch-changes

In the ideal world when you do something, you do it right the first time. In the real world, we learn more each day and what seemed right yesterday, a month ago or a few years ago, may no longer be right today. Xojo has been around for a long time now and in all that time we have learned a thing or two. One of the things we have learned is how to deal with errors.

Bowie_Changes.pngCh-ch-ch-changes (turn and face the strain) – David Bowie

Comments closed

Einstein’s Special Relativity and Software Projects

In 1905, Albert Einstein published a paper revealing his theory of Special Relativity to the world. The theory says that not only do mass and energy have an equivalence (an idea that was not new) but that they have a specific equivalence expressed in the equation E=mc2. That equation basically says that the faster you go, the more energy you need to continue to accelerate. The unfortunate consequence of this is that you can’t reach the speed of light because at that point, your mass would be infinite which is of course, impossible.

einstein.png

It occurred to me recently that this concept applies to more than just the cost of going acceleration. For example, the larger a company gets in terms of just about any way a company is measured (revenue, profit, employees, customers, etc.), the harder it is to continue growing at that same rate. It isn’t that big companies don’t grow, they of course do, but they don’t grow a lot compared to smaller companies. It’s not difficult to grow from $100,000 to $1 million in sales compared to growing from $1 million to $100 million.

Comments closed

Downtown Austin Restaurants Near #XDC2015

It’s been over 7 years since Dana persuaded me to come interview with Xojo and leave the downtown law firm I’d been working at. Downtown has changed a lot in that time, some of it is barely recognizable. So many of my old haunts are gone but I’m not looking back, I’ve discovered a whole slew of new dining experiences in downtown. As I mentioned in my earlier post covering things to do while visiting Austin, there is nothing a Texan loves as much as talking about food. Austin offers an eclectic and seriously yummy variety of restaurants, here are some local favorites you should try while in town for #XDC2015.

sorry_were_open.png

Comments closed

Texas For Everyone

Looking for something to do after #XDC2015 wraps? I grew up in Houston but lived in Austin for 10 years and I can confirm that after talking about food, showing off the great state of Texas is a Texans’ favorite thing to do! If you have any questions about things to do or places to visit, feel free to grab one of us locals (or former locals in my case) for more details!

greetingsfromaustin.png

Comments closed

Guest Post: Serial Communications with Xojo

Wayne Golding has been a Xojo developer since 2005. He operates an IT Company Axis Direct Ltd www.axisdirect.nz which primarily develops applications using Xojo that integrate with Xero www.xero.com.  Wayne’s hobby is robotics where he uses Xojo to build applications for his Pi2 often implementing IoT for remote control.

When receiving data from remote sources there are two options available, one option is where the source will send a packet size followed by the data, the other is where the packet is terminated. Today we’re going to look at the terminated version.

Comments closed

Xojo Cloud Databases: Add, Connect & Manage

One of the most popular Xojo Cloud feature requests was to add database support. On Tuesday Feb 10th, we added MySQL and Postgres databases for Xojo Cloud. In addition to having a database server right on your Xojo Cloud server, we have also enabled the creation of SSH Tunnels so you can connect directly to the databases using a 3rd party management tool.

Comments closed

But it said DataAvailable…

But it said DataAvailable…where is all my data?

I’ve seen this a few times and have made the mistake once or twice myself. You write some code with TCP sockets and rely on the DataAvailable event as if it means “all your data is here”.

But it’s not. So the code you wrote that parses the data into its components keels over because you only have part of what you were expecting to have. And so you ask: “Why isn’t all my data here”?

Comments closed