Home | About | Contact | Sitemap | Feed on Posts Comments

Macronimous web blog

Let's Get Social:

Twitter
Friendfeed
Technorati
Delicious
StumbleUpon
BlogCatalog
Feed Agg
MyBlogLog
reddit
digg

Subscribe to read

Get Macronimous Web Design, Development and Internet Marketing discussions delivered by email, Sign Up

Subscribe to read

Recent Tweets

PMP Book from PMCC is heavy - 2.3KGs (4.92 Pounds), Can't sleep when something heavy on the chest. :-)

Follow & Get Tweets

TwitterCounter for @macronimous

Popular Tags

CMS Concurrent versioning system Content Management solution CVS Internet Internet Marketing Internet Matketing iphone development Keywords Link Building Link Popularity Mobile development Mobile technology Opensource CMS PHP PHP Frameworks Search Engine Optimization SEO SEO Questions SEO tools SERP SMO web design Web development Web development Frameworks Web Marketing Website Popularity Web Testing Web tools wordpress


Sites we Like

Internet Blogs - BlogCatalog Blog Directory

Add Macronimous Blog to Technorati Favorites
Join Macronimous Blog Community at MyBloglog!
Wikipedia Affiliate Button

4 site design validations you should do before you deliver

April 30th, 2010 Macronimous Posted in 4 series, Web Testing, Web standards, Web tools, web design 2 Comments »


1. Validate HTML

W3C provides HTML validations, which checks the validity of HTML, XHTML etc.

http://validator.w3.org/

2. Validate your CSS

You should use W3C’s CSS validator tool to validte your style sheets.

http://jigsaw.w3.org/css-validator/

3. Validate site links

Check broken links across the site with W3C’s Link checker tool

http://validator.w3.org/checklink

4. Cross browser compatibility

Check the site on multiple browsers with this tool (You may not have a MAC, but you can you can test the site Mac Safari

http://spoon.net/browsers/

Even if its a simple static site, do them to make the site perfect.

AddThis Social Bookmark Button

4 Things you should let your web development client know

April 30th, 2010 Macronimous Posted in 4 series, CMS, Content Management Systems, Flash, Internet Marketing, Opensource, Search Engine Optimization, Web business, Web content, web design, web programming 7 Comments »


Not all the web clients are tech or web savvies. Many times you should pave them their success path online. Here are few a list of 4 important things which you should let your client know, if they trust your web development skills.

1. Flash: When they ask for a fully flashed website, let them know the adversity it might make. By doing this you are helping them to establish the right online presence. Unless your client is Coca cola or Burger King ( I mean,  :-), an establish brand), they will really want to establish better Visibility to the Search Engines.

2. SEO – If a client just wants a website, let them know what SEO is and how it is going to help them. Make the site SEO friendly within the design scope (Eg. Image tags, XHTML validations, designing without tables, etc). Most of the clients will not say NO to make their site ready for SEO.

3. CMS – Ask how frequently they want to change the content, and if they do, let them do know how to do it themselves with a CMS. You may also need to let them know the advantages of fresh content. I believe instead of providing them a static site of 20 pages, you can introduce them Joomla and how to use it, for some additional but onetime investments.

4. Advantages of Opensource - Do they need a CMS or Ecommerce, You can justify why you charge less. Let them know that you can cut cost by using WordPress or Magento and still make their site professional. By doing this you are introducing standards – if your client goes to some other developers, it would not be difficult for them to take up the work.

I recommend you to keep a short write up (with some references) or articles on the above mentioned (you may keep that under your client section of your website) and ask the client to refer them. It also helps them to understand that you know what you tell them. :-)

AddThis Social Bookmark Button

Four Frameworks to perform unit testing in PHP

October 28th, 2009 Macronimous Posted in 4 series, Opensource, PHP Programming, Web Testing, Web tools No Comments »


Doing Unit testing is helps a team to produce quality application with in time by allowing the developer to test the code as soon as they write it. By developing a test document, developers are forced to do rigorous testing before it reaches to QA team. This way the span of life cycle is reduced by avoiding it going back and forth between the developer and the tester. The following few Frameworks help teams to do unit testing efficiently. This way unit testing could become a fun to your developers too.
Four Frameworks to perform unit testing in PHP are
1. SimpleTest
2. PHPUnit
3. phpt
4. SnapTest
SimpleTest:
It’s a Open souce unit test framework created by Marcus Baker for PHP. The test structure in SimpleTest is similar to the Junit and PHPUnit.  It contains all of the typical functions in Junit and PHPunit and also includes Mock objects. Simplte Test helps to automate the web application’s regression testing. Regression testing on web applications can be done by parsing the HTML page by using scrpitable HTTP client for simulations like Form submission and clicking on Hyperlinks. Some of the JWebUnit functionalities like web page navigation, cookie testing and form submission are also incorporated in this.
The following link will assist you to get more idea on SimpleTest (http://www.simpletest.org)
PHPUnit:
PHP Unit is a part of xUnit family, which has testing frameworks in it. It provides a framework that helps in creating the test scripts easily and also the functionality to execute the tests and then analyze the results. The tests are arranged into cases in PHPUnit, which is very similar to Simple Test. A case is essentially a class in which public methods are singular independent tests.  A test name starts with “test” if the test is a public method. Any test, which is not, a public method will not be taken into account unless interpreted as a test under PHPUnit.  Helper methods are very useful for recurring tasks. If used Helper methods to set up a test, the test will be considered as a separate test by the framework. Refrence to assert methods are present inside each and every test. An assertion is mainly taking an expected value and then comparing it with an actual value. If the expected value does not match the actual value, then the test fails. Mock Objects are hugely important component in maintaining a unit test’s segregation from all other classes and resources except the one under test.
The following link will assist you to get more idea on PHPUnit.
http://www.phpunit.de/manual/current/en/phpunit-book.pdf
PHPT:
A phpt test is a small script, which used by the php internal and quality assurance teams for testing PHP’s functionalities. Writing phpt tests helps to make PHP more stable. For writing up a phpt test, we need a basic knowledge on PHP language, a text editor and a method to get the results of the code.  Phpt test is used in following scenario: The run-tests.php scripts call the test and it takes different parts of phpt file to name and to create a .php file. The newly created .php file is executed and the output of the same is compared with different sections of a phpt file. The Test pass only when the output of the script “matches” with the output provided in the phpt script.  Phpt test will do the following: It tries and breaks the PHP functions. PHPT test check the functions normal parameters as well as edge cases.
The following link will assist you to get more idea on Phpt
http://qa.php.net/write-test.php
SnapTest:
The most powerful unit-testing framework for PHP 5+ is SnapTest.  PHP’s runtime language is the only one of its kind that can be used to make the unit test process simpler without sacrificing the agility tests. The philosophy on which the Snap Test was build: Unit testing should be transparent in Snap Test. Complexity of test harness and coding out stub files should be avoided in Snap Test. The obstacle in writing tests should be very less so that it becomes easier to write the tests than writing the code.
Features of the SnapTest are:
JUnit Compliant Test Harness
TAP Compliant Test Output
Runnable from Command Line via .sh or .php scripts
Full support for mock objects at runtime (minimum parallel structures) as actors and critics
Extensible add-on system for adapting SnapTest to just about any developer environment
The following link will assist you to get more idea on SnapTest
http://code.google.com/p/snaptest/

Doing Unit testing is helps a team to produce quality application with in time by allowing the developer to test the code as soon as they write it. By developing a test document, developers are forced to do rigorous testing before it reaches to QA team. This way the span of life cycle is reduced by avoiding it going back and forth between the developer and the tester. The following few Frameworks help teams to do unit testing efficiently. This way unit testing could become a fun to your developers too.

Four Frameworks to perform unit testing in PHP are

1. SimpleTest

2. PHPUnit

3. phpt

4. SnapTest

SimpleTest:

It’s a Open souce unit test framework created by Marcus Baker for PHP. The test structure in SimpleTest is similar to the Junit and PHPUnit.  It contains all of the typical functions in Junit and PHPunit and also includes Mock objects. Simplte Test helps to automate the web application’s regression testing. Regression testing on web applications can be done by parsing the HTML page by using scrpitable HTTP client for simulations like Form submission and clicking on Hyperlinks. Some of the JWebUnit functionalities like web page navigation, cookie testing and form submission are also incorporated in this.

Download and test your version of Simple test.

PHPUnit:

PHP Unit is a part of xUnit family, which has testing frameworks in it. It provides a framework that helps in creating the test scripts easily and also the functionality to execute the tests and then analyze the results. The tests are arranged into cases in PHPUnit, which is very similar to Simple Test. A case is essentially a class in which public methods are singular independent tests.  A test name starts with “test” if the test is a public method. Any test, which is not, a public method will not be taken into account unless interpreted as a test under PHPUnit.  Helper methods are very useful for recurring tasks. If used Helper methods to set up a test, the test will be considered as a separate test by the framework. Refrence to assert methods are present inside each and every test. An assertion is mainly taking an expected value and then comparing it with an actual value. If the expected value does not match the actual value, then the test fails. Mock Objects are hugely important component in maintaining a unit test’s segregation from all other classes and resources except the one under test.

The following link will assist you to get more idea on PHPUnit.

PHPT:

A phpt test is a small script, which used by the php internal and quality assurance teams for testing PHP’s functionalities. Writing phpt tests helps to make PHP more stable. For writing up a phpt test, we need a basic knowledge on PHP language, a text editor and a method to get the results of the code.  Phpt test is used in following scenario: The run-tests.php scripts call the test and it takes different parts of phpt file to name and to create a .php file. The newly created .php file is executed and the output of the same is compared with different sections of a phpt file. The Test pass only when the output of the script “matches” with the output provided in the phpt script.  Phpt test will do the following: It tries and breaks the PHP functions. PHPT test check the functions normal parameters as well as edge cases.

More on Phpt

SnapTest:

The most powerful unit-testing framework for PHP 5+ is SnapTest.  PHP’s runtime language is the only one of its kind that can be used to make the unit test process simpler without sacrificing the agility tests. The philosophy on which the Snap Test was build: Unit testing should be transparent in Snap Test. Complexity of test harness and coding out stub files should be avoided in Snap Test. The obstacle in writing tests should be very less so that it becomes easier to write the tests than writing the code.

Features of the SnapTest are:

JUnit Compliant Test Harness

TAP Compliant Test Output

Runnable from Command Line via .sh or .php scripts

Full support for mock objects at runtime (minimum parallel structures) as actors and critics

Extensible add-on system for adapting SnapTest to just about any developer environment

Here you go for:  SnapTest

Let me know if you are familiar with other frameworks.

AddThis Social Bookmark Button

4 SEO Tools you would have missed

October 21st, 2009 Posted in 4 series, Search Engine Optimization, Web tools 1 Comment »


Day-to-Day we see lot of SEO tools in web and many people would have missed useful SEO tools that are not marketed well. Here are four SEO tools that you would have missed and you would be interested to use.

Keyword frequency analysis (single words, two and three words)

The tool helps to pick top 10 keywords in-group of single, double and three word keyword phrases from title, Meta description, Meta keyword and ALT-attributes. This tool can be used to find competitors on-page optimization work related to keyword phrases tags.

http://oyoy.eu/page/keywords/

Search engine SPAM detector

The tool analysis and finds whether a webpage has followed keyword stuffing, doorway farms, hidden text through JavaScript or by CSS. This tool can be used to find web page aspects that search engines could consider as spam.

http://tool.motoricerca.info/spam-detector/

Backlinks Checker Tool – Backlinks Watch

The tool helps for the best to find everything related to inbound links and covers anchor text, backlinks quality plus limitations with nofollow tag and inbound links Page rank.

http://www.backlinkwatch.com/

Keyword mapping tool

The Keyword Map tool shows the relation between search terms / keywords in graphic with good interface for easier understanding on choosing the right combination of keywords.

http://www.kwmap.com/

AddThis Social Bookmark Button

WordPress Ajax resources

July 23rd, 2009 Macronimous Posted in 4 series, Web tools, web programming, wordpress 1 Comment »


1. Ajax powered WordPress Themes:
Alisha provides a list of Ajax powered WordPress themes. You may want to try one or more.Some of them are good, Some are limted with one or two features like search. Some not found. But worth a look if you plan to use Ajax in your templates.
http://www.softtechreviews.com/web-design/ajax-enabled-wordpress-themes/
2. Ajaxed WordPress
This is a WordPress plugin which addes power, usability and the beauty of AJAX to WordPress based blogs and WordPress based websites. The plugin improves the user experience, the administration capabilities and the design potential or the blog/site.
http://ajaxedwp.com/#awp::
3. Ajax for WordPress plugin developers
So how about writing your own WordPress plugins with Ajax? WordPress codex helps you to begin: http://codex.wordpress.org/AJAX_in_Plugins
4. Four Ajax WordPress plugins
Finally, here are four plugins discussed. http://www.linuxjournal.com/article/9574 This should help you to get more ideas to start.

1. Ajax powered WordPress Themes:

Alisha provides a list of Ajax powered WordPress themes. You may want to try one or more.Some of them are good, Some are limted with one or two features like search. Some not found. But worth a look if you plan to use Ajax in your templates.

http://www.softtechreviews.com/web-design/ajax-enabled-wordpress-themes/

2. Ajaxed WordPress

This is a WordPress plugin which adds power, usability and the beauty of AJAX to WordPress based blogs and WordPress based websites. The plugin improves the user experience, the administration capabilities and the design potential or the blog/site.

http://ajaxedwp.com/#awp::

3. Ajax for WordPress plugin developers

So how about writing your own WordPress plugins with Ajax? WordPress codex helps you to begin: http://codex.wordpress.org/AJAX_in_Plugins

4. Four Ajax WordPress plugins

Finally, here are four plugins discussed. http://www.linuxjournal.com/article/9574 This should help you to get more ideas to start.

AddThis Social Bookmark Button

Load and Stress testing – Tools reviewed!

March 10th, 2009 Macronimous Posted in 4 series, Downloads, Web Testing 2 Comments »


Most of the performance issues occur because of high stress in server.  You should perform load testing to know how many concurrent visitors your site can serve perfectly. It is difficult to arrange without the help of a set of actual user. It is the proper way of using advanced automatic load and stress testing tools.

Load Runner
Load runner is the contribution of Hewlett-Packard to the software testing industry for analyzing the conduct and concert of the system by giving actual load to the system. Load runner can make the application feel the load of hundreds or thousands of real-time users and mean while can repossess information from web server’s database servers etc.
When working with Load Runner we work with three different tools Virtual User Generator (VuGen) and Controller and Analysis, which are inevitable part of the tool.

The VuGen helps a user to record and replay the required actions against the applications under test. The required actions will be recorded in the form of scripts. The user can make modifications in the scripts. When the script is ready , the same is executed through the controller and finally analysis will give the scenario results in the form of graphs for the user to view and analyse.

QEngine 
Advent Net Qengine is a tool that supports both load testing and functional testing for web based applications. The tool mainly helps to spot the bottlenecks in the application code and eradicate the same then and there. This tool helps your ‘N’ Tier endeavor applications can meet heavy user loads during peak hours and have high uptime in production. This testing will provide supple user scenarios and reasonable load types for the application during load test. The tool can create real time user actions and perform load tests load with hundreds or even thousands of simultaneous users under active load conditions. The load testing features are:

• Load Test Recording
• Flexible User Scenarios and Dynamic Data Generation
• Real-world Load Simulation
• Distributed Load Testing
• Load Test Reports

SilkPerformer
Borland silk performer is a enterprise-class tool for delivering automated software load, stress and performance testing in an open and sharable model. We can create prevailing, realistic load tests for thousands of users running production scenarios across a broad range of endeavor application environments to identify bottlenecks, and then apply powerful diagnostics to resolve performance issues with help of Silk Performer. Adaptable visual scenario modeling enables any load scenario to be tested and compared – whether it involves a single, massive flood of requests to a website or the expected behavior of an enterprise application under daily heavy load. Any bottlenecks are identified, then spontaneous diagnostic and analysis capabilities help resolve the issue quickly, reducing test-and-fix cycles, accelerating time-to-market, and supporting critical release decisions related to application performance. Test creation, root-cause analysis wizards and Java & .NET deep diagnostics build it amazingly simple and efficient to use, removing the cost and complexity associated.

Few Performance & Load Testing  Capabilities in Silk Performer:
• Virtual user “types” enable shared, reusable access to load testing across all major application environments
• No license requirement for “controllers” or individual “protocols” means greater access to test creation and execution for more team members across the organization
• Discover ease of use with the built-in step-by-step workflow wizards
• Create tests and executions with Silk Performer’s intuitive interface, or leverage the Eclipse IDE
• Test a wide range of enterprise environments with versatile, sharable, multi-protocol virtual-user types
• Easily customize tests with random user data—without programming a single line of code
• Reuse test cases in different environments and scenarios without changing test scripts

WAPT(Web Application testing)
WAPT is a load and stress-testing tool for web sites, web servers, and intranet applications with web interfaces. WAPT provides easy-to-use ways for accurate load simulation and Run-time test data generation. We can test and analyze the performance characteristics in various load circumstances to find bottleneck of your web applications. WAPT can simulate multiple users for each scenario, custom implement delays between requests and dynamically generate test data parameters. The values of request parameters and URIs can be calculated in a number of ways and even be determined by the server response to the previous request.  The features of WAPT are to test web sites with dynamic content and protected HTTPS pages. It provides useful test results through descriptive graphs and reports. Additional features included in WAPT: support for secure sites and user authorization, simultaneous testing and batch operation.

AddThis Social Bookmark Button

4 SQL injection methods every PHP programmer should be aware of.

February 2nd, 2009 Macronimous Posted in 4 series, Databases, PHP Programming, web programming 1 Comment »


The Problem with all the codes is that the value is not sanitized before it will be sent as a query. All we need to make sure is that we passing the secure data into database. We can send secure data and prevent the data hacking by following the four prime SQL injection methods

Function mysql_real_escape_string() :

In php, we have a function to deal with strings in MYSQL. (Modified Content)

Function:
mysql_real_escape_string()

Above function seize the string that will be used in the MYSQL query and return the same string with all SQL Injection attempts securely escaped. Above functions will assist to replace each troublesome quotes in SQL Injection query with “backslash \”

Magic Quotes:

Magic quotes will helps to escape from risky form data that is used in SQL Injection. It will automatically include “backslash \” for each special characters in SQL Injection query submitted.

Function to check whether Magic quotes are enabled on server is
“get_magic_quotes_gpc function”

Example:
After adding magic quotes
The   \  becomes  \\
The   ‘  becomes  \’
The   “  becomes  \”

HTML Entities:

HTML Entities function translates all applicable characters to HTML Entities and returns the encoded string.

Function used to translate is,

string htmlentities ( string $string [, int $quote_style=ENT_COMPAT [, string $charset [, bool $double_encode=true ]]] )

Example: 

 <?php $str = “A ‘quote’ is <b>bold</b>”;

// Outputs: A ‘quote’ is &lt;b&gt;bold&lt;/b&gt;
echo htmlentities($str);

Validation:

Length Validation: Hamper of all the input fields in the application to the absolute minimum (7 to 15 characters). This will helps to block long queries input.
Input Validation: Validate the data entered in the input field. For eg. Age field should accept only number and only 2 digits are allowed.
User Privileges:  Create “Admin user” for each database and provide “create, drop and edit ” tables privileges only to the “admin user “

AddThis Social Bookmark Button

Simplify Database admin with free MySQL tools

January 30th, 2009 Macronimous Posted in 4 series, Databases, Web tools, web programming 1 Comment »


Briefed below are four MySQL tools that are really interesting, and you would like to review them and test them for better DB management experience. They do fairly good job with the database admin management, and good alternates to phpMyadmin. 
 
1. SQL Buddy: A tool that allows you to get more work done for less, the SQL Buddy tool though not very colorful and flashy, is very easy to navigate and fast loading as well. This saves a lot of time, and also allows using it the moment it is saved in the system. Also transferring of data between servers and .csv file export is also possible here.
 
2. Sidu: Another database admin tool with some wonderful features in it, including filtering and segregating of table list of a database. Also free controlling of table grouping, depending upon first few characters of the table name is made possible. This tool also assists in table access using the GUI feature. Data import is also possible to be done easily here.
 
3. My DB Studio: One of the best features that MyDB possesses is that it assists in SSH tunneling that helps in securing one’s connections, along with backup and restore database options. The tool also provides functionalities like creating, altering and deleting tables using WYSIWYG. The tool also aids in creating complete PHP scripts. This tool can be downloaded here.
 
4. MySQL Front: Another GUI for MySQL, this tool has complete control over the graphic display giving us more options to present the information clearly. One of the highlights of this tool is that it can make direct contacts with the database, thereby storing login ids and passwords, in your hard disk. This saves you from losing time spent to login at various web interfaces. Basically, this tool is helpful for those designers who are not very lettered about databases and only have a basic idea about it.

AddThis Social Bookmark Button

Drop down Menus for WordPress CMS – Plugins reviewed

January 30th, 2009 Macronimous Posted in 4 series, Content Management Systems, Opensource, Web tools, wordpress 4 Comments »


Organizing of content is done better way using drop down menus. But coding them could be a heck of a task. Thanks to some of the finest plug-ins that cater to the drop down menus needs for WordPress, we can use them in our websites or blogs for easy drop down navigation. These plug-in can also be customized manually for better presentation.
 
Discussed below are four drop down plug-ins, for sites enabled with WordPress.
 
1. Suckerfish WordPress Plug-in: It can be downloaded from here. Suckerfish has already existing drop down design, but the same can also be customized using the CSS generator, which very well suits this plug-in. The site clearly explains the procedure to install the plug-in onto your website.
 
2. Zack Designs: A three level drop down menu has been developed by Zack Designs, for WordPress. This looks to be really promising and efficient as well. You can download it from here. But one thing is that this would be a strict no-no for people who are not well conversant with CSS, especially if you are attempting to make changes to the existing design that the plug-in provides.
 
3. Gouden Douche plug-in: Depending upon the page list, the drop down menu is created in your website, by this plug-in. It has about 3 versions of the plug-in and is still in the beta version. All the 3 versions have specific requirements, with the latest one still having few bugs in it; still it is definitely worth a look and a try, in case you are able to fix the glitches. With the beta version that has come out, it sure looks to be a promising WordPress drop down plug-in.
 
4. TransMenu: A very swift and animated drop down menu, TransMenu is easy to install at the same time makes drop downs more attractive as well. With options to include pages and sub pages inside, the drop down is definitely a very good idea for starters. The site also gives detailed information about how to go about installing the plug-in.
 
It would be good to try them out first in any blog if the features are compatible with your requirements and try applying them in your WordPress enabled sites.

AddThis Social Bookmark Button

4 places to find great Photoshop plugins and filters

November 19th, 2008 Posted in 4 series, Graphic Design, web design 1 Comment »


Following the best four series, this time I have chosen 4 sites to find wonderful and useful Photoshop plugins and filters. Though there are thousands of sites offering free Photoshop plugins and filters, searching through the sites and choosing the ones required could be a tedious affair. Am sure this list would prove to be a quick reckoner for all your Photoshop plugins and filters needs, because I have chosen them after trying them out myself. All these sites offer free downloads of filters and plugins, with a huge variety of options to choose from. 

Filter Factory 

This site has a huge accumulation of filters and plugins as well, that impart varying levels of effects in photographs and images. With more than 350 filters and plugins available, this site definitely contains a vast and excellent collection to its credit. With detailed explanation of what plugins and filters are and how to download them are clearly explained in the site as well.

http://www.photoshop-filters.com/html/filter_factory.htm 

VanDerLee plugins and filters 

A site with both free and paid versions, VanDerLee has an impressive collection of Photoshop filters and plugins. Along with latest news in the field of website designing and releases of various new versions of plugins and filters, the site also has a dedicated Support section that assists with useful FAQs and a list of Compatible applications that work with the site’s plugins.  

http://www.vanderlee.com/plugins.html  

Richard Rosenman filters and plugins 

This site has separate windows for both freeware and commercial collection that can be downloaded at a specified cost. Wonderful, amazing and varied collections of plugins and filters are available in the freeware section as well. A must checkout site for all Photoshop plugins and filters seeking fans!  

http://www.richardrosenman.com/software/downloads 

Mehdi Plugins 

A great site for Photoshop plugins, this site has a colorful and eye pleasing layout in itself! Not only does the site has a large collection of plugins, but it also has clear explanations as to how to use the particular plugin and also how to customize them in order to make it the way you need it. I have used this site for many of my plugin needs as well. Excellent site indeed! 

http://www.mehdiplugins.com

Apart from these four, I also happened to see a site called Virtual Photographer. A very useful site for creating special effects on photos, downloads are available in zip format as well. A site worth checking out for the photographer in you :) http://www.optikvervelabs.com/default.asp

AddThis Social Bookmark Button