Sunday, September 30th, 2012 by Servage

Are you always working online, or maybe even on the live version of your website? There are plenty of reasons not to do that, for example an internet connection may not be around, or you risk corrupting your live website, and break it for potential users. That's not professional.
Please check out these related blog articles on version control:
Use version control to improve development workflows
Manage your code with GitHub
Source Tree provides a GUI for version control
Using GitTower to work with your code
Is Beanstalk an alternative to GitHub?
Local development environment
If you use a version control system you may not have a centralized development system, or maybe ...
Friday, September 28th, 2012 by Servage

It's incredibly simple to build AJAX functionality using the JavaScript jQuery library. The jQuery library provides tons of easy-to-use functionality which enables you to integrate new, awesome features insanely fast. Let's take a look at how to create a simple AJAX cll with jQuery.
Params
Start out with specifying query params:
type (post/get...)
url (target addresse for the AJAX request)
data (to be sent with the request, e.g. as get params.
dataType (the expected dataType of the return)
success (callback method if the AJAX request gets a return)
error (callback method if the AJAX request fails)
complete (callback method, running no matter if the request fails or not)
Example
$.ajax({
type: 'get',
url: 'some url',
data: 'some data',
dataType: 'json',
success: function(responseText, statusText, XMLHttpRequest) {
// Do ...
Wednesday, September 26th, 2012 by Servage

I've seen the weirdest things among website developers, on how they try to validate an email address. Everything from highly complex if/else combinations to impossible regular expressions. However, it's really easy to validate an email address with PHP, because there is a built-in function. Why do so many people not know that? So... I say it once more: There is a built in function to validate email addresses in PHP :-)
$email = "someone@exa mple.com";
if(!filter_var($email, FILTER_VALIDATE_EMAIL)) {
echo "E-mail is not valid";
}
else {
echo "E-mail is valid";
}
You can even put it inside a functions or an object method. I have attached it as an object method in the example ...
Friday, September 21st, 2012 by Servage

Using PDO in PHP is a good way to ensure that your project is using a standard compliant and cross-database-platform compatible system. The PDO driver ensures that you can transport your code across multiple platforms, using different database servers.
PDO isn't just a cross-platform driver that enables this platform-independence. It also provides a series of great functions to make database queries easier and faster to perform. Furthermore it helps securing queries against injection and manipulation with unwanted content or even hacking attempts. Check out the below example from the PHP documentation:
Example 1, question-mark references
$calories = 150;
$colour = 'red';
$sth = $dbh->prepare('SELECT name, colour, calories
FROM fruit
...
Wednesday, September 19th, 2012 by Servage

It's not easy to create a proper presentation. Regardless of method, slides, screencast, commercial, especially small businesses struggle with this. It's sad to see great apps or projects from small groups not getting the proper attention, due to lack of good presentations. So, don't hide. Get out there and present yourself. Present.me can help you create a nice presentation of your concept with little time.
Easy to import, record and edit
Whether it’s Powerpoint, PDF, Excel, Word, Google Docs or Open Office, with the click of a button you can upload your files to Present.me and convert them to a format so they’re ready to record. Just present into your webcam ...
Sunday, September 16th, 2012 by Servage

We all know the irritation, the annoyance of getting spam mails, or even legit newsletters for something we signed up for by accident, or maybe even willing, but forgot or lost interest in. The unsubscribe process is often complicated, and sometimes doesn't even work. Thankfully unroll.me is trying to solve that problem by offering an "easy way out".
Unroll.me is the free and easy way to end unwanted subscriptions and rollup the rest into an organized overview made just for you.
Unsubscribe. It's Easy!
Unroll.me makes managing your subscription list easy. Simply select the emails that are overloading your inbox, and we'll automatically unsubscribe you all at once.If you change your mind, ...
Friday, September 14th, 2012 by Servage

Properly tracking development and code issues is helping all projects grow and develop faster, more efficient, and with less risk of things getting forgotten or neglected along the way. Therefore a proper issue tracking software is really important to help you with that. DoneDone attempts to do that for you.
Real-time notifications
DoneDone is the only issue tracker which pushes real-time notifications straight to your browser. This way, you can focus on your work instead of your email inbox.
Integrations: Basecamp, GitHub, Beanstalk, Subversion
Push updates to your DoneDone projects directly from your favorite flavor of version control. Likewise, you can import and sync users from your Basecamp account.
Create issues, add files, leave ...
Monday, September 10th, 2012 by Servage

Getting traffic and converting it to sales is the primary source of income for most websites. Therefore optimizing content for search engines and ads is a essential part of everyday life for a webmaster. HitTail offers a tool to assist you with this important task: "Drive targeted search visitors to your website by focusing on the most promising organic keywords in your existing traffic."
Killer Keyword Suggestions
HitTail tells you, in real-time, the most promising search terms you should target based on your existing traffic. We do this using a sophisticated algorithm tuned by analyzing over 1.2 billion keywords. As a website owner, one of your biggest assets is the proprietary data ...
Friday, September 7th, 2012 by Servage

We have previously described PhpDocumentor, a tool which enables you go convert inline documentation to great and nice looking docs for your web project. PhpDocumentor is now available in a newer version, which is not only better and faster and compiling your docs, but also provides a nicer documentation layout.
It’s a common problem amongh developers that insufficiently or no documentation of code causes problems, delays, misunderstandings. Even code you wrote yourself could look really strange after a while, when you no longer remember what’s exactly going on. At this point a good documentation could help you save time and nerves.
PhpDocumentor is a good script that generates documentation for your ...
Wednesday, September 5th, 2012 by Servage

Do you want you own server? Do you need special software? Are you tired of performance problems? Are you just curious? Well, there are many good reasons to get an own virtual private server. The price is definitely also one of them! Consider this offer from Servage. It's pretty much the same cost as a shared webhosting account!
RAM Memory: 256 MB
Traffic: 100 GB
Diskspace: 50 GB
Full root access
Power On/Off from CP
Backup (snapshots)
ACPI shutdown from CP
Console access from CP
Check out the plans.

Cloud Based Server Virtualization
The TotalCloud server virtualization offering is based on a modular setup where the servers are clustered in pairs. In these pairs, one server acts ...
Recent comments