CMS Spotlight: PyroCMS

About the project
PyroCMS was started by Phil Sturgeon as an in-house CMS in 2008 and was released to logo CMS Spotlight: PyroCMSthe open source community in 2009. It soon picked up momentum and as I'm writing this it has received contributions from 100 different developers and designers and has been translated into 23 languages.

In 2011 we created 2 slightly different versions: Community and Professional. Community is free and always will be while Professional appeals to those of you who need features such as Multi-Site (create additional websites from the interface) and Rebranding (replace our logo and copyright information in the admin interface with your own). There is currently a team of 5 of us responsible for the project and business management:

  • Phil Sturgeon - Developer
  • Jerel Unruh - Developer
  • Adam Fairholm - Developer
  • Scott Parry - Designer
  • Mike Wilding – Support

Our Philosophy
The philosophy of the PyroCMS project is simple: a CMS doesn't have to do everything out of the box but everything it does should be intuitive to the user. You can quickly add additional functionality by installing or creating add-ons such as Modules (MVC packages), Widgets, Plugins, or Themes. PyroCMS is built from the ground up as a modular system and consequently extending it comes naturally for developers. Built with the MVC architecture it is used by many developers as a starting platform when creating custom applications.

Themes
Usually themes are the first thing you will encounter when working with a CMS. Creating a theme for PyroCMS couldn't get much easier. If you know HTML and CSS you are well on your way. A theme folder will typically contain the following items:

  • theme.php - This is a simple file that gives PyroCMS information such as the author's name
  • screenshot.png - A preview thumbnail to display in the theme switcher interface
  • img - A folder where all theme images are stored
  • js - A folder for all the necessary JavaScript
  • css - The folder for storing cascading stylesheets
  • views/layouts - The folder where you place your default.html template file
  • views/partials - Optionally break the default.html file into smaller chunks (such as header.html)

Not all of these items are required... you could create a theme with only theme.php and views/layouts/default.html!

Once you have the files in place you just inject the CMS output into your html file using the {{ template:body }} tag. Similarly you would use the {{ template:title }} and {{ template:metadata }} to let PyroCMS place the relevant meta data in your theme. That's it! You now have a working theme!

Modules
The PyroCMS core itself is built from modules: Pages, Blog, Files, etc are each a module. Modules are the only type of add-on that is accessible via the url. For example: site.com/your-module. Since modules are MVC packages you can create applications as simple or as complex as needed. They can collect data from users via forms, display all sorts of things, or even act as an API to communicate with other websites.

Widgets
Widgets are simple chunks of logic that you can embed anywhere. Suppose you wanted to embed a map on your site and have a non-technical user change the address once a week. This would be a good job for a widget. Widgets can be embedded anywhere on the front-end of your website using a tag that looks like this: {{ widgets:instance id="1" }} Once that is embedded the client can go to the Widgets interface in the admin panel and select that map widget. A form will open and they can edit the address details.

Plugins
Last but definitely not least let's talk about Plugins. Plugins are somewhat similar to Widgets except that they have no user interface. Plugins are intended for designers and others who want precise control over how data is output. They are called by embedding their tags in theme files or in Page content. Here is a quick example of using the File plugin to output a list of uploaded files:

{{ files:listing folder="our-vacation" }}
<img src="{{ url:site }}files/thumb/{{ id }}" alt="{{ description }}"/>
{{ /files:listing }}

The example will loop through all files in the "our-vacation" folder and for each one it will output an image tag.

Summary
Hopefully you've enjoyed this quick flyover of PyroCMS. We think you will like PyroCMS for the same reasons many others tell us they do:

  • Search engine friendly by default
  • An admin interface that users just "get" without training
  • A full featured free version with a paid version available if needed
  • Developer friendly due to its clear MVC and modular architecture
  • Installable on nearly any server supporting PHP 5.2 or greater and MySQL. (we have a hosted product too if you prefer)
  • Simple and concise tag system for outputting data

Drop by our site at PyroCMS.com for more information. You are also welcome to talk with @pyrocms or myself @jerelunruh anytime.

 CMS Spotlight: PyroCMSJerel Unruh started using PyroCMS v0.9.x in 2010 and soon began contributing to the project. He stuck around for the long haul and now heads up the US office and is credited with writing some very popular features in PyroCMS! When not wielding his web development tools he works with virtualization and server administration and spends his offline time on various automotive and mechanical projects.

Now offering Minecraft VPS Servers

Minecraft Logo Now offering Minecraft VPS Servers

We've always offered the ability to create their own Minecraft VPS on the VPS.net network, and some of our largest clients have been successfully doing so since the games release. We've now made things even easier, with an easy to install Minecraft OS template.

The template uses Ubuntu 11.04 with the minecraft server pre-installed for your use. This template can be used in any of our locations, and just like our other templates, your minecraft server can be instantly updated with just the click of a button.

If you want to customize your server, we've put together a short list of items you can do to make the gaming even more fun!

WorldGuard - Download here
WorldGuard is more a security tool for your minecraft server, protecting your server from various problems, while also adding a few new features and administrative options.

WorldEdit - Download here
WorldEdit is an in game editor for your Minecraft Server, equipping you with over 100 different functions that makes building and editing your map easy.

iConomy - Download here
iConomy is a simple and easily setup economic system for your mincraft game, allowing you to add additional functionality. iConomy has support for lottery systems, card games, shops and much more.

Jobs - Download here
If you're going to have an economic system, there's gotta be jobs for people! The Jobs modification, allows players to get played for carrying out numerous tasks, like breaking, placing, killing, crafting and fishing.

NoCheatPlus - Download here
If you're trying to run a legitimate server, there's no way you want any cheaters playing with you. No Cheat Plus analyzes the data sent from the gamer and looks for suspicious behavior. Depending on how you configure No Cheat Plus ultimately determines how it handles players who meet the critieria of a potential cheater.

MCBans - Download here
MCBans is a global banning solution for Minecraft Servers, provided through the Bukkit plugin. The aim of the plugin is to provide server owners with a method of assisting in the prevention of griefers on their own and other's servers, using both local and global bans. 

So, pick your favorite location and in just a few minutes you can be playing Minecraft on your very own server!

Grow Your Business with VPS.NET

It's been awhile since we've gone over some of the programs VPS.NET has put in place to help you with your business. Whether you're running a small family site, or working full time for a large enterprise, we've setup multiple programs to help you increase your revenue and decrease your expenses.

VPS Affiliate Program2012 07 24 1329 Grow Your Business with VPS.NET
VPS.NET is part of the Aff.biz affiliate network, which covers all of the UK2Group brands. Each referral that you make for our Cloud Servers earns you $85. Even better, you're able to promote all of the UK2Group brands, like ANHosting, MidPhase, 100TB and many more, while still receiving only a single check. This means tracking your commissions are easier, and there's less paper work required from you.

Resell Cloud Servers
Have you considered launching your own hosting service? Are you a web designer wanting to host your clients? We can certainly help with that. You're able to resell our Cloud Servers at extremely discounted rates. Best of all, this requires absolutely no up front commitment, nor are there any sort of long term contractual obligations required. Signing up is a manual process as our team works closely with our reseller partners to ensure they're given the best opportunity for success.

Discounted Hosting
We know there are a lot of organizations out there that operate with limited funding. For those that qualify as an academic, charity or non-profit organizations, we're able to provide them with our Cloud Servers at a significantly discounted rate. To qualify for the discount, we simply need a copy of the paper work showing your status. In the United States this is typically in the form of a 501(c)(3) document; if you're in a country other than the United States, we simply require the equivalent in order set your account up. To get started, just contact our team at nonprofit@vps.net.

Free Blesta Licenses2012 07 24 1452 Grow Your Business with VPS.NET
Blesta is one of the leading billing and customer relationship management software providers for hosting companies in the world. Blesta integrates directly in with leading payment gateway providers, and most of the leading control panel providers. The guys at Blesta have also developed a module for use on the VPS.NET control panel, aimed at resellers. Through the Blesta module, resellers are able to completely automate many of the functions necessary, such as the setup and management of a Cloud Server for your customers.

Discounted WHMCS Licenses 2012 07 24 1508 Grow Your Business with VPS.NET
In addition to offer Blesta for free, we also offer WHMCS, which has recently become a part of cPanel. WHMCS, in it's 5th version, is one of the most mature and widely used billing and customer management tools in the web hosting market. Offering integration with over 75 different payment gateways, automated customer relationship management and complete integration with the VPS.NET control panel, it is a popular product at VPS.NET. Users are able to completely manage their own, and customer's Cloud Servers with the VPS.NET. The setup of the module has recently been fine tuned for an easier getting started process. WHMCS is offered to clients for a monthly rate of $7.50

Free SSL Certificates
Finally, we offer absolutely free SSL certificates for our customers. These SSL certificates are the same ones you'd buy from any of the leading providers, with the same level of trust and authority, only they're FREE. Pretty cool, right? SSL certificates are an absolute must have for any one conducting business online, so pick one up today -- they're free!

End of the Work Week Cloud Report

It's been awhile since we've done one of these (shhh, I know! Almost 2 years...). So long, that I almost don't know how to handle myself. There's been a lot happening around the VPS.NET offices, so I thought it was absolutely necessary to quickly throw something together so none of it was missed.

Deploy and Manage Optimized Drupal
The team over at StandingCloud will be doing a webinar July 26th at 9:00am PT, titled, "Deploy and Managed Optimized Drupal on the VPS.net cloud." In this webinar we'll go over how to easily deploy and manage an optimized Drupal installation using our new Hosted Apps product, from Standing Cloud. Using the Hosted Apps you're able to easily build, test, deploy and manage your Drupal sites without any significant hassle. Once you have your application online, we've fully automated the entire management process for you -- no longer do you have to worry about scaling, backups, or upgrades. You're able to register for the Webinar at GotoMeeting.

PyroCMS
Earlier this year we met up with the guys from PyroCMS at CMS Expo. They've put together an extraordinary CMS that is quickly growing, which features a unique user management system, with built in SEO management, powerful addons and beautiful themes. Best of all, PyroCMS is now available in the StandingCloud marketplace, allowing you to easily deploy and manage an installation. If you're looking at migrating your site to a new CMS platform, PyroCMS is one to take a look at!

Montreal, Canada Cloud VPS Options
Last week we launched our new Montreal, Canada Cloud VPS location, in our quest to expand to 21 unique locations. The new cloud is located inside the Netelligent datacenter, and is available to all of our customers. Unfortunately with slightly higher operating costs in Canada, the Montreal location does have a premium charge of $25 per node.

HostingCon/Host Me All Night Long  2012 07 20 1601 300x225 End of the Work Week Cloud Report
Yet another HostingCon has come and gone already, but many good times were had.  Our friends over at Comcure, along with cPanel and SoftLayer sponsored the party, "Host Me All Night Long" and that they did. All in attendance were entertained with a comedy 2012 07 20 1604 150x150 End of the Work Week Cloud Reportshow by the awesome Ralphie May, who might by the funniest man on earth. We were also entertained by the band Yellow Brick Road, who I can easily call the best cover band I've ever had the pleasure of hearing. Not many people can sing like Steve Perry, but these guys did! I was amazed.

Finally, some of us from the UK2Group, were able to attend a game at Fenway park. If you haven't ever attended a game at Fenway, it's one of those at has to be on your bucket list. The amount of history alone there makes it worth it, but the guys at the Red Sox organization have it a thoroughly entertaining time. Even the members of our staff who flew in from our London office were entertained. We were able to snap a quick pic of the team in their seats... apologies for not being the most photogenic. I was not intentionally trying to give the camera the people's eye brow!

 End of the Work Week Cloud Report

Left Row: Clint Reeves, Steve Holford, Thomas Hancock, Chris Matue, Adam Kilgour
Right Row: Martin Baker, Dave Anderson, Terry Myers (ME!), Kirk Maudsely

Discount Hosting for Academics, Charities and Non-profits

At VPS.NET we're committed towards serving your needs. It's why we're constantly rolling out new programs like our welcome kit, which is designed to make your move to a cloud server stress free and easy. It's also why we have now introduced discounted pricing for academic, charity and non-profit organizations. If you're one of these organizations, you're able to receive pricing of just $13 per node.

Who qualifies for the discounted hosting?
If you're an organization that is registered as a academic, charity or non profit with your respective country, we'd be happy to help out. We do require that you are at least registered with your country before requesting the discount. We, unfortunately, are not able to assist if your organization has not registered as an academic, charity or non-profit.

How do I request the discount?
To receive the discounted hosting, simply email our team at nonprofit@vps.net with your website, and we will be able to apply the discount. If your status as an academic, charity or non-profit organization is not listed on your website, we ask that you simply attach the paper work showing the status to your email. Once you request the discount our team will be happy to apply it to your account, and you will receive the reduced rate with each future invoice. Please note that we can only apply the discount going forward; any invoices that have been previously paid cannot be retroactively discounted.

VPS.NET Adds Ability to Rapidly Clone and Deploy Cloud VPS Servers

New feature makes it possible to launch heavily customized Cloud VPS Servers in just minutes

VPS.NET has announced the latest addition to their increasing feature set, with the ability to clone and deploy servers within the same datacenter. The new feature allows clients to take an existing server, and clone it to create an entirely new server.

The clone and deploy feature is immediately available to VPS.NET client’s worldwide, and can be used in any of the locations. The primary benefit the clone and deploy feature offers clients is the ability to create a completely customized image based off 190 different options, and rapidly deploy the image to a new server.

The new feature comes completely free of charge, allowing client’s to create a single snapshot of a server, which they can then deploy to new servers. The company plans to add the capability to clone a server to different datacenter in future releases of the tool. At the present time clients are restricted to deploying new servers to the same datacenter as the originally cloned server.

“The new feature saves our clients a lot of time when deploying multiple servers. They’re able to simply setup one server and use the clone and deploy option to create a different server to their exact specifications as they setup with the original server”, said Rus Foster, M.D. of VPS.NET.

A Canadian Cloud VPS, eh?

This week, as part of our new announcement plans to expand to 21 unique cloud locations, by August of 2012, we launched our new Canadian Cloud. The Cloud is available for use already for all of our customers, and can be used to create brand new Canadian Cloud VPS servers.

What's this aboot?!
Our new Canadian Cloud is located in Montreal, Canada inside of the Netelligent Datacenter. The Netelligent datacenter follows our strict protocols required to host our clouds. The new Canadian Cloud location does come with a slight surcharge of $25 per node, compared to our standard $20 per node. This is due to increased power, space, and bandwidth costs in Canada, compared to our other locations.

If you're looking for a VPS in Canada, it's finally here from VPS.NET! So get started, and let us know what you think. Feel free to use coupon code, "FREEVPS" to receive a single node free for the first month with a new account.

Command Line Basics Part 1: moving around the file system

Previous post in this series available here.

One of the advantages of a command line over a graphical control system is that you have a very very rich set of commands to run, and very fine-grained control over how they're run. The dis-advantage is that you don't have "menu"s to choose commands from, so you need a base of knowledge before you can do anything. This post and the few after it are my attempt to give you a crash course on the vital basics of doing stuff on a (perhaps) virtual Linux machine with a remote command line login.

The first thing you'll do is "log in", or establish a connection to your virtual server. You'll use some sort of tool to do that, depending on the operating system of your local machine. If you already have a unix-like machine (including Linux), you'll probably open a command window and connect to the remote machine using the command "ssh" for "Secure SHell". If you're on a Windows machine, you'll use a program like "PuTTY". In either case, when you first get logged on you'll see a blast of general information from the machine and then a "prompt":

2012 07 03 1140 Command Line Basics Part 1: moving around the file system

The prompt is the thing at the bottom that is basically the remote machine saying "Ok, I'm ready for your next command". I've set up my prompt to tell me my username, what machine I'm logged into, what time it is, what directory I'm in ("~" in this case), then the "$" character indicates the end of the prompt and that's where the cursor sits, ready for you to type.

Directories in these machines are in a hierarchy. Unlike Windows (or DOS), the file system in a Unix-like machine isn't relative to a physical drive (like "C:"). Directories are mapped to underlying media, but in a way that's mostly invisible. All directories stem from a "root" directory that doesn't really have a name; it's just referred to as "/". The root directory of a file system will have 0 or more sub-directories, each of those will have 0 or more sub-directories, and so on down. Files can reside in any of these directories. Below briefly explain three important commands which tell you the current directory, change it to a different one, and see what's there.

Any time you have a prompt, you have some notion of your "current" directory. The command "pwd" (Print Working Directory) tells you which directory you're in. pwd is usually used without options.

The command "cd" (Change Directory) is used to change the current directory to a different one. It can be invoked several ways. "cd XXX" changes to a subdirectory of the current directory with the name XXX; this is a relative directory change; where you end up depends on where you are. "cd /XXX" changes to the directory /XXX/ no matter where you are (the leading slash makes it an "absolute" directory change).

There are a couple of useful other invocations of cd. "cd .." is a relative directory change, but instead of changing to a subdirectory of the current directory, it changes to the parent of the current directory (the name is not required since each directory is only the subdirectory of one parent). In other words, in general, running "cd XXX" then "cd .." puts you back where you started.

One other invocation of cd is "cd" with no arguments. That's a special case that is an absolute directory change that puts you back in your "home" directory. Every user on a unix-like system has a point in the file system where your own files are stored (as opposed to the files that make the system run or are part of the operating system). You store your own files there as well as files that will set up your environment (another post).

The third command, command "ls" (for "list", I guess) is used to list the names of the files and the subdirectories in the current directory. With no arguments, list just gives a complete listing of all the contents of a directory, including subdirectories and files together. (How to distinguish them will be a later post.)

Here's an illustration of me logging in and moving around in the directories on my virtual server. You'll notice that my prompt here tells you what the current directory is at each step, so using "pwd" is superfluous here. However, no matter what your prompt is, even if it gets messed up sometimes, pwd will always tell you where you are, so I've used it that way here. (Words that appear like this in the trascription aren't actually part of the session; they're notes to you, the reader.)

2012 07 03 1142 Command Line Basics Part 1: moving around the file system

This gives you a very basic idea of the mechanics of moving around the directory tree. The best way to try this is to log into your own server and see what's there. If you ever get confused about where you are, the command "cd" by itself will always return you to your home directory, and "cd /" will always return you to the root of the file system.

Next time, I'll talk about the file system layout in general and some of the useful places to go.

Craig Steffen cut his command-line teeth on MS-DOS 2.11 round about 1986 or 87; his first Unix-like OS was NeXT-Step on NeXT computers in 1991. He used Solaris, Irix, and increasingly Linux in graduate school, and runs mostly (Ubuntu) Linux nowadays. He lives in appalachia but oddly works for a mid-west University. In his spare time he mucks around with his vintage VW and occasionally flies small airplanes. You can see more at his blog and on twitter.