Ever wanted to add articles to your Joomla! site from another source? If you've ever tried, you've probably run into a few issues—for example, articles that have been created directly in the database will not get indexed by the Smart Search component.

The main reason problems arise when adding articles directly to the database is the implementation of the assets table (used in Joomla! sites since 1.6). The assets table keeps a row for content items as it relates to Joomla!'s ACL system.

For simplicity's sake, just know that Joomla! relies a lot on the assets table and we'll need to make sure we add a row when adding an article programmatically.

Luckily, Joomla! makes it easy to import articles through the API.

Read more

At Zuno, I'm the resident Android developer, but being close to the only one in the office that doesn't use an iOS device daily made me wonder what the other side was like. So, I decided to play with Apple's new programming language, Swift.

(note: since Swift is a new and developing language, I can't guarantee what I write will be accurate when it's production ready)

OS X and iOS apps are primarily written in Objective-C and that's because of the operating system's heritage with NextStep. This is why all the core classes start with NS. Now, Objective-C does solve problems. Back when it was created in 1983, it provided a method to describe problems in an object oriented way. However, I don't think the syntax has aged very well. Take the following for example:

Read more

Adding tags in Joomla! 3 is super simple. There is a Tags component where you can manage individual tags, but you'll never have to touch that component because creating tags is easy within core items.

Here's how to add tags to an article:

Read more

Last time, I wrote a bit about hack and what new features it brings to PHP. Now let's take what we learned and put it into action.

I've written a guestbook in hack that demonstrates some of the new features I talked about. You'll be able to download it and browse the source from our git respoitory.

In there you'll find examples of how to use the new Vector class and lambda expressions.

Here's a link to the demo.

Page 2 of 20