Skip to content

Tag: webdev

A Better Alternative to PHP

Are you tired of the hassles of creating web apps using PHP? Why not develop faster and smarter with Xojo?

Like PHP, Xojo is object-oriented. Unlike PHP, Xojo has a coherent framework design that is easy to work with; plus the Xojo language is simple and focused.

Comments closed

Simple Web Development with Xojo

Do you find it frustrating to create web apps? HTML, CSS, JavaScript, and AJAX can be challenging, and frameworks such as Node, React, Ruby on Rails, ASP.NET, PHP and Java are often overwhelming for those just beginning web development.

There is a simpler solution: Xojo. Using a single programming language and a single IDE, you can go from zero to a working web app in an amazingly short amount of time with Xojo.

Comments closed

Making a Web App: Comparing Xojo and Visual Studio for Mac

In previous articles, I’ve written about how Xojo is often much, much easier to use and more capable than Visual Studio for Mac for creating Mac and cross-platform desktop apps.

Visual Studio can also create web apps and as it would turn out, you may find that Xojo is a better option for web apps.

Technically, Visual Studio for Mac can create ASP.NET Core Web Apps. These type of web apps use the ASP.NET framework, but do not provide a form (layout editor) for your app’s user interface. Instead you’ll have to create everything in code, including mapping UI actions to corresponding code. ASP.NET Core also requires you to use the MVC (model-view-controller) design pattern, which can be a bit daunting for beginners.

Comments closed

JSON Feed Web App

Recently, a new syndication format was introduced by Brent Simmons and Manton Reece called JSON Feed. It is an alternative to RSS/Atom to get feeds for blog posts and podcasts. RSS/Atom are XML-based, making them complex to work with. As its name implies, JSON Feed uses JSON and is much simpler.

In fact, it is so simple that you can easily make web, desktop and iOS apps with Xojo to display the feed. In this post, I’ll show you how to create a Xojo web app to display the JSON feed for Daring Fireball in less than 20 lines of code.

Comments closed

The Ultimate Password Solution

World Password Day brings attention to some simple steps everyone can take to secure their digital life: 1. Create Strong Passwords, 2. Use a different password for each account, and 3. Get a password manager, no, not a post-it note in your desk drawer!

The best password is one that is diffcult to guess. But difficult to guess takes on a new meaning when hackers use computers to do the guessing. Hence, the best password becomes one that would take a computer so long to guess that it’s not practical to do so. That means a long series of random characters and the longer and more random, the better, and a different password for every site you use.

Comments closed

There’s No Excuse For Storing Passwords

A few years ago it was reported that Russian hackers had stolen 1.2 billion usernames and passwords from a variety of websites. This was only possible because those websites were storing the actual password. Because it’s World Password Day and because this is web security 101, let’s discuss why there’s really no excuse for a website to store your password – ever.

Comments closed

Localizing Web Apps: Dates & Numbers

In desktop apps, you can use Xojo.Core.Locale to get the user’s locale for formatting dates and numbers. However, in a web app this value returns the locale used by the web server rather than the locale of the current user session.

To display dates formatted in the locale of the user session, you need to get the LanguageCode from WebSession and use that to create a locale that you can then use to display the date.

Comments closed