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

Follow & Get Tweets

TwitterCounter for @macronimous

Popular Tags




Sites we Like

Internet Blogs - BlogCatalog Blog Directory

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

PHP IDEs we use: 1.Netbeans, and why?

December 9th, 2009 Macronimous Posted in Opensource, PHP Programming, Web tools, web programming 2 Comments »


Netbeans Integrated Development Environment (IDE) is an open source integrated development for software developers. You can run the Netbeans IDE on various platforms which include Linux, Windows, Solaris and MacOs. It is aimed at providing a comfortable environment for the developer during each stage of development. This is accomplished by integrating precise features required for PHP development into the Netbeans IDE.

As most PHP projects characteristically connect to MySQL databases, Netbeans has made a concentrated effort to offer to this configuration. By means of the Netbeans IDE 6.5 Beta, web developers can now benefit from the standard features like the syntax highlighting, refactoring, code templates, pop-up documentation, easy code navigation, debugger and lots more.

I have been currently using Netbeans IDE and I have penned down few features and positives that I came across in writing PHP based web application.

  • It comes free.
  • Netbeans will go along with PHP, JavaScript, CSS, HTML, Java and lots more.
  • Indentation format is out of the top draw in Netbeans. You select a block of code which contains css, html or php code, Netbeans will make sure it formats the code evidently and placed indentation adequately.
  • Common functions of PHP are shown automatically or you can use ctrl + space.
  • While writing HTML, Netbeans ensures it checks the div id properly and it indicates if there is any hitch so that you can easily fix the bug.

I can stiff my neck out and say it’s the most popular IDE and also the most popular. So I would give an overall score of 8 out of 10 for Netbeans IDE.

AddThis Social Bookmark Button

Frameworks we like: 3. Symfony, and Why?

December 9th, 2009 Macronimous Posted in Frameworks, Opensource, PHP Programming, Web tools 3 Comments »


Symfony a web application written in PHP as per the Model-View-Controller (MVC) standards launched by Sensio Labs during 2005. It is aimed to give developers full authority over the configuration. Symfony also looks to up the tempo of creation and maintenance of web applications and to reduce the recurring coding tasks. More or less a whole lot from the directory structure to foreign libraries could be customized.

The symfony templating component is a flexible layer on top of PHP which provides you simple yet influential features that covers most familiar templating needs. One of the objectives of symfony templating component is to be as fast as possible. It comes as a tool which is very easy to use with just a single archive to download and that’s it, you are ready to be on the go.

You might ask me the next question, what is the exact need for any framework in PHP? PHP was supposed to be meant as a fast web based programming language. The ever escalating popularity of Open Source Technology today has given away to the position of PHP in web community.

Given this condition why do you need a Symfony? Why a framework in the first place? Let us see how the Symfony framework is going to benefit the customer and as well as the developer.

Benefits of Symfony Framework for Customers

  • Released under MIT open source license, the Symfony framework comes as free software and you can use it for any commercial purposes.
  • Symfony Framework is independent of database due to the ORM layer “Propel” or “Doctrine”.
  • Use of tested code and also less lines of code which always results in less chance of bugs and also it will minimize your cost.
  • Web applications are very easy to modify later on because of the clear Model View Controller (MVC) structure that separates application into separated layers.
  • Swift developments of a custom-made website build on proven methods and principles.

Benefits of Symfony Framework for Developers

  • All codes are object oriented and entirely in PHP5.
  • You will gain plenty of time in the overall development process and get improved maintainable and testable code.
  • Very appropriate for development methodologies like XP.
  • Advanced cache system which includes file cache, apc cache, mem cache and few others.
  • Offers tools to make use of every useful best-practice accessible on the web today.

Initially when I came across this Symfony software, found it really overwhelming and appeared a big step. But the structure of the framework and also because of the consistency of Application Programming Interface (API), the documentation provided was really wonderful.

I must admit that ever since we started using Symfony, we haven’t looked back.

3. Frameworks we like: 2. CakePHP and why?

2. PHP Frameworks we like 1. Zend and why?

1. PHP Frameworks we like

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 jag 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