PHPUnit Installation Tips regarding tests in Zend Framework

Hi there, I spent quite a bit of time trying to figure out how to install PHPUnit and run tests with it. All the buzz comes from the fact that XAMPP can contain PHPUnit in its php\pear folder.  First I would recommend to uninstall the PHPUnit under your PEAR folder, so open command prompt from your XAMPP control panel and run:

xampp

(more…)

How to install Zend Framework 2 on XAMPP

zf2Hey guys, I spent quite a bit of time trying to find a proper way of how to install Zend Framework 2 on XAMPP. Here are my tips about how to tackle and get started with Zend Framework 2.

 

1)      Go to C:\xampp\apache\conf\extra and modify httpd-vhosts.conf

Insert lines like:

<VirtualHost *:80>

ServerName zf.localhost

DocumentRoot C:\xampp\htdocs\zf\public

#ErrorLog “logs/dummy-host2.example.com-error.log”

#CustomLog “logs/dummy-host2.example.com-access.log” common

SetEnv APPLICATION_ENV “development”

<Directory C:\xampp\htdocs\zf\public>

DirectoryIndex index.php

AllowOverride All

Order allow,deny

Allow from all

</Directory>

</VirtualHost>

(more…)

How to keep your WordPress Theme from being hacked

WordPress Theme Hack!

wp-hackKeeping you WordPress theme protected from being used by others is sometimes very important, especially if it is available on the web, or you intend to sell it.

Most of the times, themes are accompanied with additional information, which make them vulnerable from being hacked. A typical example of this kind of information is given below:

 

 

 

/*
Theme Name: Ony Happy Cloud
Theme URI: http://example.com/free-base-wordpress-theme
Version: 1.0.0
Author: Shiny
Author URI: http://www.example.com
*/

Basically this is everything all other users need, to hack your theme.

Q: So, how to prevent WordPress Theme Hacking?

(more…)

Ten initial Plugins to kick-off in WordPress

wordpress-pluginsThere are thousands of Plugins for WordPress out on the internet. However, there are some that worth spending a little bit of time and familiarize with them.

They tackle the initial requirements and help a lot in building a WordPress site / blog.

So, here is the list with some info for each one of them

– All in One SEO (In a few words, it integrates your WordPress site /blog with SEO)

– Akismet (Spam filter for WordPress comments)

– WPtouch (Gives your WordPress site / blog the mobile appeal. Just think of how many users reach you via smartphones, mobile phones nowadays)

– Editor Extender (Enhances your WordPress editor)

– WordPress.com Stats (Provides statistics for your WordPress site /blog)

(more…)

Flash VS JavaScript

There has been lots of discussion lately about JavaScript and Flash. In this article I want to give some of the distinct advantages of both.

JavaScript Advantages:

  • Open Web Standard (Allows you view source).
  • Compatible with all devices and browsers.
  • There is no need to download an external application or plugin.
  • No dependency on an external vendor.
  • Easy code maintenance.
  • Ready to use libraries (jQuery and MooTools).

Flash Advantages:

  • Works fine when streamimg Videos or Music.
  • Is a better solution when creating effects that can’t be created using open web standards.
  • Is recommended when creating complex animation (3D Capabilities).
  • Has a Built-In User Interface.
  • Better for Multimedia creation.

I’d love to hear your opinion and share your thoughts about this article…

Initial Website Requirements

Here are some very initial Website Requirements that a developer and the website owner must take into account to kick off.

  • Metatags (Decide suitable key words for Search Engines to attract potential visitors).
  • Ooops I am lost. Web Site should have Sitemap.
  • Where is the Search area!!!
  • Web Site should include a Copyright statement.
  • Web Site should at least have an English version.
  • Hey, its not bad to socialize a bit, fb, t, linkedin etc.
  • What is the Moto for your Company? Who is your target group?
  • Discuss about Web Hosting plans and Web Site Statistics. (more…)