Showing posts with label CAKEPHP. Show all posts
Showing posts with label CAKEPHP. Show all posts

Thursday, March 7, 2013

Guidelines For Selecting a Professional Cakephp Developer For Cakephp Development

Guidelines For Selecting a Professional Cakephp Developer For Cakephp Development





CakePHP Programmer - Freelancer in india




While Choosing a CakePHP Developer You need to keep in mind following points : 

  • A cakephp developer having years of experience must also know about Cakephp google map API integration and cakephp amazon API integration.
  • Experienced cakephp developers / programmer have complete knowledge about cakephp programming, coding and developing cakephp custom components too that enhance the productivity of your website or web application.
  • Professional cakephp developers and freelancers also offer cakephp template design services that make your website look professional and appealing to the target audience.
  • Next, the cakephp developer and freelancer must also offer regular application maintenance as well cakephp website maintenance services including technical support, upgradation & troubleshooting so that your website or web application runs in the most effective manner.
  • A major part of cakephp development India is shopping cart development using AJAX. If you are about to launch an e-commerce website that needs to have a dynamic shopping cart functionality, the cakephp developer must be well-aware about the knitty-gritties involved in this.
  • The cakephp developer should also know how to integrate your cakephp website with popular social media platforms such as Facebook, Twitter and Goggle+. Next, the developer should also know how to implement complex Cakephp facebook connect integration projects.
  • Further, he or she should have profound knowledge of technologies such as Php, JavaScript, HTML, XHTML, MySQL and AJAX.
  • Offshore cakephp development projects to a cakephp developer who has atleast 3 to 4 years of extensive experience in implementing different kinds of cakephp website development projects.
So, how do you select a cakephp developer or programmer who is professional and well-qualified? Well, mentioned below are some basic things which you need to ask before hiring a cakephp developer.
Cakephp is an open source web application framework which is based on the php programming language. The crux of cakephp lies in MVC, a coding pattern which helps developers write fewer codes and reduce the cakephp application development time. The pattern has three layers like Model layer for database application, View layer for the implementation of the graphical user interface and Controller layer for business logic. Every layer can be worked independently of the others. This feature helps to make the whole process faster, smoother and less complex. You should always hire experienced cakephp developers for your cakephp web development projects.




Hope you have enjoyed the post !
any more idea about the same ? let me know by comments !


My areas of interests are CAKEPHP, CakePHP Developer India, CakePHP Development, cakephp freelancer India, CakePHP Programmer, PHP Freelancing india 



Know More About :
PHP Freelancing India

Sunday, March 3, 2013

How Cake PHP Developer And Zend Developer Useful For Rapid Web Development


How Cake PHP Developer And Zend Developer Useful For Rapid Web Development





  • The advantages of using Zend framework for PHP 5 development or even PHP Cake are that they are scalable over the long haul; it comes with a rather low maintenance cost. When you are in the market for the above two frameworks, get a professional entity that will offer their services for the development of this framework in a manner that is affordable, a manner that guarantees regular serviceability, and a manner that spells professionalism in every sense of the word.
  • Hiring a Zend programmer or a Cake PHP expert covers all this but has the advantage of ensuring that whatever web development project you are undertaking is hastened on account of the following facts. Foremost the framework relies heavily on objective programming thus lowering the need for detailed code (this translates to saved time); secondly the two frameworks come with a rich inbuilt library which can be used for hybrid website development; and thirdly these frameworks have fluent interfaces that means they are highly compatible with a variety of software.
  • Once you have gotten the above issue straightened out then the question that you need to answer is how exactly this two frameworks radically differ from other framework. It is important to note that web development will essentially encompass a few common denominators -the cornerstone that all web developments will always touch on include the following: reviewing the design and functional requirements for possible troubleshooting; a breakdown of the design pattern into panes; design a model that captures data as either a database records or in XML format. This is the bare minimum.
  • If your are in the market for PHP 5 software, what you essentially need to first get is a Zend developer. Such a Zend programmer comes equipped with the technical know how on the issues that go along with laying down a Zend framework (an open source software framework for php 5 that is fashioned in such a manner that it eliminates the attention to detail required of coding, and lets the Zend programmer focus on the larger picture) .If you are in the market for Cake PHP - an open source web application program that aides a Cake PHP developer develop websites, then your best bet lies in hiring a Cake PHP expert. When you Hire a Cake PHP developer or hire a Cake PHP programmer, the following advantages (listed below) are set to accrue to you.
  • Working in the field of web development has its own set of challenges. Key among these challenges is essentially how you get to tackle the bottleneck of time management. When you want to speedily set up a website what you essentially need to do is to fall back upon a re4liable web standard that mitigates against t constraints of time and other infrastructure overheads that might be presented to the web developer.

Hope you have enjoyed the post !
any more idea about the same ? let me know by comments !


My areas of interests are Zend Framework, Zend Freelancer,Zend Programmer, Zend, CakePHP Developer India, CAKEPHP, cakephp freelancer India,Zend Developer
Know More About :
PHP Freelancing India

Friday, February 22, 2013

Why Should You Choose A Cake PHP Developer?


Why Should You Choose A Cake PHP Developer?







According to programmers across the globe, none of these frameworks offer the same flexibility or simplicity. With the help of a CakePHP developer, you will be able to create solutions, which are well structured and better designed. If you wish to gain an extra edge with your online business, it would be beneficial to hire a dedicated CakePHP developer for your web development needs.


Ever since its inception in 2005, CakePHP has gained a lot of popularity. CakePHP developers can create striking web designs at an affordable price. The framework is known to be compatible with other versions of PHP as well. With the help of an efficient CakePHP developer, you will be able to integrate CRUD (an effective database management program) within your project. There are different kinds of PHP networks in the market today, including Kohana, Prado, Symfony, CodeIgniter, Zend and Agavi.

CakePHP is one of the most reliable frameworks based on PHP and loads of programmers have tested the capabilities of this framework across different applications. A versatile CakePHP developer will be able to use the model-view-controller, which helps you separate any business logic from design or presentation. This is why CakePHP is one of the sought after frameworks for web development.

PHP can be used across numerous frameworks and CakePHP is one of the ideal web development frameworks today. In order to add value to your project, you must hire a developer that understands the latest patterns in the market. Experienced developers can use these frameworks to their full potential in order to make the coding more convenient.

Additionally, PHP is continuously evolving as a coding language and newer changes are being introduced to improve the abilities of the framework. As a website owner, it is impossible to stay in pace with these ever-changing technicalities and it would be suggestive to hire a CakePHP developer who has the skills to work with such a framework.

According to the webmasters across the globe, CakePHP facilitates an easy web development experience. We all know that PHP is a flexible language when it comes to web coding, however it can get complicated and unorganized at times. Various codes and intricate files are used within the PHP codes to enhance the overall functionality of the web programs. While you may possess the technical skills, it is always a good idea to hire a dedicated CakePHP developer for your development needs. At the same time as PHP can serve as the best web development tool, it can mess up things if you were to make mistakes within the codes.






Hope you have enjoyed the post !
any more idea about the same ? let me know by comments !



My areas of interests are CAKEPHP, CakePHP Developer India, cakephp freelancer India, PHP Freelancing india.



Know More About :
PHP Freelancing India

Sunday, January 6, 2013

5 PHP Frameworks to Help PHP Developer / Freelancer Code Better in Less Time - Zend, Prado, CakePHP, Symfony, Codeigniter

5 PHP Frameworks to Help PHP Developer / Freelancer  Code Better in Less Time  - Zend, Prado, CakePHP, Symfony, Codeigniter





Different frameworks have different features they are developed with single motto and that is to make PHP programming for PHP Developer over the globe as easy as possible. Here are a few benefits of frameworks that each PHP framework is thought to have:


PHP community is always with the PHP Developer. They never ever feel alone and in case of any query these communities prove to be of immense help

Allows easy integration of functions in the web development

Frameworks facilitate coding as they come installed with their own debugging theory. It allows the developers to detect and correct errors easily.

Ready to use features give PHP Developer in India a creative edge with speed.

Using them for coding is considered to be highly secure.

Countless servers in the world are frameworks friendly and thus make them powerful to deal with demanding situations.

They help the coders reuse the same code with some modifications.

Inbuilt core libraries make the coding lightweight and hassle free. It saves the PHP developer from vast complex coding

Most of them follow optimized coding tool pattern MVC and so speed the process of PHP development

Zend Framework:

Zend Framework  is an open source framework for developing web applications and services using PHP 5.3+. Zend Framework  uses 100% object-oriented code and utilises most of the new features of PHP 5.3, namely namespaces, late static binding, lambda functions and closures.



Prado Framework:

PRADOTM is a component-based and event-driven programming framework for developing Web applications in PHP 5. PRADO stands for PHP RapidApplication Development Object-oriented.


CakePHP:

The CakePHP framework provides a robust base for your application. It can handle every aspect, from the user’s initial request all the way to the final rendering of a web page. And since the framework follows the principles of MVC, it allows you to easily customize and extend most aspects of your application.


Symfony Framework:

Symfony is a PHP Web Development Framework.
That doesn’t answer your question? Ok, let’s try that again.
Symfony is a PHP Framework, a Philosophy, and Community - all working together in harmony.



Codeigniter:

CodeIgniter is an Application Development Framework - a toolkit - for people who build web sites using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.


Hope you have enjoyed the post !
any more ideas about the same ? let me know by comments !


Know More About :
PHP Freelancing India

Thursday, January 3, 2013

How To Choose Cakephp Developer / Freelancer For Cakephp Application Development

How To Choose Cakephp Developer / Freelancer For Cakephp Application Development





Cakephp is a very popular free open source content management system that would take your website to greater heights of success as compared to your competitors. You can get the Cakephp application development through the Cakephp developer for Cakephp application development with the best features of web development like ecommerce or online shopping cart, showcase or catalogue, real estate property rental, recruitment or job portal, directory, project management, forum or message board, guest book, news, comments and reviews, picture or photo gallery, event calendar, help desk or support, chat room, etc. All these are highly interactive features in a website which are very important nowadays to get the best website impression on the clients or customers cake php Freelancer.

There are lots of benefits that you can get when you choose Cakephp developer for Cakephp application development, which can be seen as mentioned below:

You can get better Cakephp development done, once you hire Cakephp developer for Cakephp application development, than the in-house employees. Also, you can get the best and the most professional Cakephp application development done for your business when you hire the Cakephp developers.

You can hire Cakephp developer for Cakephp application development on hourly, weekly and monthly basis and also pay accordingly, so that you can save on lot of time and money.


When you choose Cakephp developer for Cakephp application development, you can save lot of time, money and resources, which can be used in the other development strategies of the business.

Open source web application frame work, Compatible with PHP4 and PHP5 and MVC architecture, it can be derived on the concept of Ruby on Rails, architectural base in websites development, the cost of web development gets slashed, Helps programmers or developers to reduce code repentance in web development, Developed under MIT license, free for everyone, Integrated CRUD for database and simplified querying, Request dispatcher with custom URLs, Templates designing (PHP syntax with helper methods), View helpers for AJAX, Javascript, HTML forms, Built-in validation and Access control lists (ACL), Data sanitization and Security, session, and request handling components. Cakephp freelancer India.

The Cakephp developer should have more than 2+ years of experience in Cakephp development, because of which, it is very beneficial to hire them for your business development through your website. The Cakephp developer for Cakephp application development can develop the best websites with the very highly professional touch as well as the most eligible look to get high rankings to the websites in the search engines.

It is thus very beneficial to hire Cakephp developer for Cakephp application development, which is available at highly affordable prices and with the best experience as well as expertise in the Cakephp application development. The Cakephp developer for Cakephp application development are highly experienced as well as highly expertised in the development of the website with Cakephp application development.

Cakephp being an open source web application set up in the PHP framework is a recent system of open source customization that follows very successful pattern of Model-View-Controller, just as the other open source applications. Better web applications can be developed with Cakephp, which would not only make the application development unique, but also makes the complete website unique as per its designs as well as structure. Cakephp application development is a very popular free open source content management system which helps in developing better websites. Cakephp freelancer India.


Hope you have enjoyed the post !
any more idea about the same ? let me know by comments !

Know More About :
PHP Freelancing India


Saturday, December 29, 2012

Hire Offshore Dedicated Cake Php Programmer Developer Staff / Freelancer

Hire Offshore Dedicated Cake Php Programmer Developer Staff / Freelancer 

CakePHP Programmer / Freelancer India

The features of Cake Php development which the offshore dedicated Cake Php programmer developer staff can offer can be seen as below:

# Data sanitization and Security, session, and request handling components

Built-in validation and Access control lists (ACL)
Templates designing (PHP syntax with helper methods)
Request dispatcher with custom URLs
Integrated CRUD for database and simplified querying
Developed under MIT license, free for everyone
Helps programmers or developers to reduce code repentance in web development
It reduce the cost of web development
It provide architectural base in websites development
Derived on the concept of Ruby on Rails

Compatible with PHP4 and PHP5 and MVC architecture

Open source web application frame work

The offshore dedicated Cake Php programmer developer staff should have more than 2+ years of experience in Cake Php development, because of which, it is very beneficial to hire them for your business development through your website. The offshore dedicated Cake Php programmer developer staff can develop the best websites with the very highly professional touch as well as the most eligible look to get high rankings to the websites in the search engines.

You can hire offshore dedicated Cake Php programmer developer staff, as the offshore dedicated Cake Php programmer developer staff is available at highly affordable prices and with the best experience as well as expertise in the Cake Php development. The Offshore dedicated Cake Php programmer developer staff are highly experienced as well as highly expertised in the development of the website with Cake Php development.

Cake Php is a very popular free open source content management system that would take your website to greater heights of success as compared to your competitors. You can get the Cake Php development through the offshore dedicated Cake Php programmer developer staff with the best features of web development like ecommerce or online shopping cart, showcase or catalogue, real estate property rental, recruitment or job portal, directory, project management, forum or message board, guest book, news, comments and reviews, picture or photo gallery, event calendar, help desk or support, chat room, etc. All these are highly interactive features in a website which are very important nowadays to get the best website impression on the clients or customers.

It is thus very beneficial to hire offshore dedicated Cake Php programmer developer staff at affordable prices for your business. Know more about how to hire offshore dedicated Cake Php programmer developer staff for your business at very affordable prices now.




Hope you have enjoyed the post !
any more idea about the same ? let me know by comments !


Know More About :
PHP Freelancing India

Wednesday, December 26, 2012

Outsource PHP Development work to India based Web Development Company For WordPress, Joomla, Magento, Drupal, Android, iPhone, CakePHP, Codeigniter

Outsource PHP Development work to India based Web Development Company For WordPress, Joomla, Magento, Drupal, Android, iPhone, CakePHP, Codeigniter



1 PHP-Programming-India and our professional clearly understand that the technologies are changing continuously and therefore have a well maintained in-house team to look over the latest advancements so as to run the continuous activities accordingly. For this we provide project based programmer team to understand the need of a particular project. For the smooth operation for your business activities we offer maintenance procedures irrespective of the location of the application development.


2 Every project is always completed within the allotted time given by our customers. Our staffs are very sincere to their work and could help you to become a leader in the business you are involved keeping your competitors behind with their high knowledge and innovative ideas for developing web sites. With the use of PHP MySQL our professional are enthusiastic to take all types of challenges and create new and innovative things. Here at PHP-Programming-India we ensure your business growth and increased sales and fame by using latest features in the business and best coding practices.

PHP-Programming-India caters its professional PHP development services to almost the whole ecommerce in the world and has its offshore Development Center in India e in PHP-Programming-India have a vast number of professional, and experienced PHP developers who are fanatical to their work and ensures total lucidity with the client's staff.


PHP and MySQL software are very helpful in Content Management System that has become a must for every website to progress properly. It can be said PHP is a fine combination of some features of C and Perl in a simple format. When compared to other scripting languages PHP MySQL is preferred by programmers as it is easier to maintain and update. It is accepted as a boon for easy-to program superb web pages.
Consumers across the world prefer India as the center point when it comes to PHP programmers as they are efficient enough to provide rising platforms to the owners, with the creation of booster web sites which increases their site traffic and eventually increases their sales. PHP programmers with the use of open source codes benefit from the elasticity of editing, modifying and updating the source code when there is requisite. Such programmers with strong basic knowledge and experience accept all sorts of difficulties and aims at benefiting the consumers at the most. Open source as proved itself a boon for these programmers as resources could be utilized at the max with minimum cost. In India the pay scale for these programmers are a fraction when compared to other developed countries, which is another reason why India has become the first choice at global market.



Hope you have enjoyed the post !
any more idea about the same ? let me know by comments !

Know More About :
PHP Freelancing India

Wednesday, December 7, 2011

Choosing An Effective Web Design Company / Freelancer

Choosing An Effective Web Design Company / Freelancer

Web Design Company

As much as the web designing process is itself a complicated one, choosing the right web design company is also very challenging. You need to take a few things into account before you can start off with the search for the right Web Design Company.


In choosing the web Design Company the first step is to look for the most reputable companies through sources and authentic information. 


It is recommended to inquire in your network of contacts related to this business that have had the exposure and experience with a web developer which was worth repeating when in need. A personal experience matters a lot. For the search of potential web designer companies, even the internet, and the news papers can shortlist the worthy ones.



Any more ideas ? let me know via comments ! 



Know more about  :
Information Technology Jobs



Monday, October 3, 2011

Using regular expressions to extract content - php extract texts from html content


Hello PHP Googler,

PHP provides a number of really neat regular expression functions. You can find the list of the regex function at the PHP site.

But the one that I’ve had most fun with is the preg_match_all() function which I’ve been using to do content extraction from an HTML page.

I’m not going to explain what Regular Expression (regex) is in this post. There are whole books on just this one topic along; I would be crazy to think I can explain it all in just a few paragraphs. But in order for you to understand how to use the regex functions you need to have a basic understanding of regular expressions.

If you think back to your childhood days, you would remember a toy that you can match holes with shapes with the corresponding blocks – like the picture here. Well, regular expressions is very much like that toy, but instead you have define your own ’shape’ (or pattern as it’s known) and apply your content to it. Any text that matches the pattern will ‘fall’ through it.

Let’s say you have a block of text like below and you want to extract out the all links from, you can use preg_match_all to do just that.

 
$content = "He's goin' everywhere, <a href=\"http://www.bjmckay.com\">B.J. McKay</a> and his best friend Bear. Rollin' down to <a href=\"http://www.dallas.net\">Dallas</a>, who's providin' my palace, off to New Orleans or who knows where." 
The pattern you want to look for would be the link anchor pattern, like <a href=”(something)”>(something)</a>. 
The actual regular expression might look something like Once you have your pattern you apply the $content and $regex_pattern to preg_match_all() like this
$regex_pattern = "/<a href=\"(.*)\">(.*)<\/a>/";


Once you have your pattern you apply the $content and $regex_pattern to preg_match_all() like this
preg_match_all($regex_pattern,$content,$matches); print_r($matches);
preg_match_all will store all the matches into the array $matches, so if you output the array,
you’ll see something like this.

Array ( [0] => Array ( [0] => <a href="http://www.bjmckay.com">B.J. McKay</a> [1] => <a href="http://www.dallas.net">Dallas</a> ) [1] => Array ( [0] => http://www.bjmckay.com [1] => http://www.dallas.net ) [2] => Array ( [0] => B.J. McKay [1] => Dallas ) )



From this array, $matches, you should be able to loop through and get the information you need.

I hope this has been useful to you. I know it doesn’t cover all the things this function can do, but for first-timers, it should be a simple look at a very powerful PHP function.

Incidently, PHP also provides the function preg_match(). The difference is preg_match() only matches a single instance of the pattern, whereas preg_match_all() tries to find all matching instances within the content.

Contact:
bhavinrana07[@]gmail.com

Sunday, October 2, 2011

Hardening Your Web Application Against SQL Injections




Hi All,


Before digging what actually SQL Injection is, let me explain you what is SQL it self.
What is SQL?


Structured Query Language (SQL) is a specialized programming language for sending queries to databases. Most small and industrial- strength database applications can be accessed using SQL statements. SQL is both an ANSI and an ISO standard. However, many database products supporting SQL do so with proprietary extensions to the standard language. Web applications may use user-supplied input to create custom SQL statements for dynamic web page requests.


What is SQL Injection?


SQL injection is a technique that exploits a security vulnerability occurring in the database layer of a web application. The vulnerability is present when user input is either incorrectly filtered for string literal escape characters embedded in SQL statements or user input is not strongly typed and thereby unexpectedly executed. It is in fact an instance of a more general class of vulnerabilities that can occur whenever one programming or scripting language is embedded inside another.
“SQL Injection” is subset of the unverified/unsanitized user input vulnerability (“buffer overflows” are a different subset), and the idea is to convince the application to run SQL code that was not intended. If the application is creating SQL strings naively on the fly and then running them, it’s straightforward to create some real surprises.


Many organization’s web servers has been compromised just because of SQL Injections, including big names which I would not like to mention here, you can search it easily on Internet.


What is Blind SQL Injection?
This particular type of attack is called a blind SQL injection attack, because the attacker cannot take advantage of detailed error messages from the server or other sources of information about the application. Getting the SQL syntax right is usually the trickiest part of the blind SQL injection process and may require a lot of trial and error. But, by adding more conditions to the SQL statement and evaluating the Web application’s output, an attacker will eventually determine whether the application is vulnerable to SQL injection.


Blind SQL injection a special case that plays on the web developers or website owners sense of security. While they may think that everything on the server is tightly guarded a Blind SQL injection attack will silently be playing truth or consequences with the web server. This type of attack though very time consuming is one that provides the most potentially damaging security hole. This is because an attacker gets not only access but is provided with an enormous amount of knowledge about the database and can potentially gain access to a servers file system. This type of attack is one that is automated and requires good amount of setup to succeed. But once it is done it does not require a great deal of effort to repeat.
What is Error message SQL Injection?


Web applications commonly use SQL queries with client-supplied input in the WHERE clause to retrieve data from a database. When a Web application executes such queries without validating or scanning the user-supplied data to ensure it’s not harmful, a SQL injection attack can occur. By sending unexpected data, an attacker can generate and submit SQL queries to a web applications database. A test for SQL injection vulnerabilities takes place by sending the application data that generates an invalid SQL query. If the server returns an error message, that information can be used to try to gain uncontrolled access to the database. This is the basis of one of the most popular SQL injection attacks.
Hiding error messages does not stop the SQL injection attack. What typically happens is the attacker will use the knowledge gained from the failure of this attack to change tactics. What they turn to is blind SQL injection.


What is SQL Injection?
When a web application fails to properly sanitize user-supplied input, it is possible for an attacker to alter the construction of backend SQL statements. When an attacker is able to modify a SQL statement, the process will run with the same permissions as the component that executed the command. (E.g. Database server, Web application server, Web server, etc.). The impact of this attack can allow attackers to gain total control of the database or even execute commands on the system.



Contact : 
bhavinrana07[@]gmail.com

PHP Web Development, Custom PHP Development of India based OPS – Instant, Interactive, Inexpensive (freelance php developer programmer wordpress joomla drupal and many open sources, cakephp and many frameworks)

Hi Googler !

Need to develop website in PHP? Want to develop custom applications in PHP? Looking for PHP development services at affordable costs? Then your search ends here.


Outsourcing Programming Services (OPS) – 

A leading PHP development company from India offers PHP web developmentservices at cost effective rates. Develop your custom high end applications through PHP development services. Increase business efficiency level and reduce business overheads by outsourcing custom PHP development requirements to us.


Request a Quote to know your PHP development costs for FREE, visit: this link.

PHP Development Services by OPS:


• Custom PHP Development: Customized development with desired features and dynamic functionality

• PHP Application Development: Develop business web applications with elegant application user interface design

• PHP eCommerce Website Development: eCommerce shopping cart development services using Magento, CS Cart, VirtueMart, X-Cart, Zen Cart, etc.

• PHP MySQL Development: Develop dynamic and database driven website applications with PHP and MySQL

• Open Source PHP Implementation and Customization: Helps to develop and implement PHP Open Source Applications for businesses on open source and PHP platform i.e. LAMP, WAMP

• PHP Web Development with MVC architecture: Develop web applications using CakePHP, Zend framework and CodeIgniter.


Based in India, leading PHP Development Company provides total PHP development solutions for various businesses & industries. It has a team of best Indian PHP developers who has developed and delivered thousands of custom PHP applications at affordable rates.





Drop a brief of PHP development requirements and get assisted by PHP Development experts in almost no time.

Contact:

bhavinrana07[@]gmail.com

Wednesday, September 28, 2011

Google new chart API

Google new chart API


A new API from Google that generates information charts in a dynamic way. its usage is quite straightforward: you link to an image in the form of a parameterized URL, such as 

http://chart.apis.google.com/chart?cht=p3&chd=t:90,49&chs=400×200&chl=data|bling.





“cht=p3? is the chart type, in this case, a pie chart.





“chd=t:90,49? are the chart values, text-encoded, and separated by a comma.

“chs=400×200? is the custom chart size, 400 by 200 pixels.

“chl=Data|Bling” are the different labels for the pie chart sections, separated via the pipe character.

chart types include: line charts, bar charts, pie charts, Venn diagrams & scatterplots.


View Demo


Any Questions let me know via comments ! 
:D

PHP Development India – Best Language for Web Development

In today’s advanced technological world, the popularity of the internet has been increasing and we see millions of websites running on the internet to fulfill the requirement of user and the figure keeps increasing each day. Therefore, the merchants are getting cut-throat competition on the internet. Strong representation of a website is thus necessary for its online success. Hence, merchants have been diverted to web development industry to build the strong online presence.



There are many options available for web development like php, asp.net, java, wordpress, etc., from them php becomes a first choice for company websites. Because PHP is an open source server side scripting language, which allows effective web development at affordable rates. PHP support multiple platforms and databases such as Linux kernel, MS Windows, MySQL, MS Access, SQL server & Oracle. It also offers an array of other features which can be used to make a website flexible and user-friendly.




Benefits of PHP Development:
  • Create a dynamic website that has a professional look
  • Its support various OS (operating system) like Windows, Linux and Unix
  • The coding is easily understandable
  • Web development at very affordable rates
  • Increase your ROI (Return of Investment)
Many countries provide php development services, from them India has taken first place in this field because Indian php developers offer excellent designing and development services and take new challenges with open arms and most important thing, you get your application at one-quarter of cost at your current rate.




Saturday, September 24, 2011

Submit Form Using Ajax (Post)


Hi Googler,
here is some code , will be helpfull in submit form using ajax post.
you need to create following files. 


Post.html





<script type="text/javascript" language="javascript">// <![CDATA[
var h_request = false;
function makePOSTRequest(url, parameters) {
h_request = false;

<!--more-->

if (window.XMLHttpRequest) //MOZILLA
{
h_request = new XMLHttpRequest();
if (h_request.overrideMimeType)
{
h_request.overrideMimeType('text/html');
}
}
else if (window.ActiveXObject) { // IE
try {
h_request = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
h_request = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {}
}
}
if (!h_request) {
alert('Cannot create XMLHTTP instance');
return false;
}

h_request.onreadystatechange = alertContents;
h_request.open('POST', url, true);
h_request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
h_request.setRequestHeader("Content-length", parameters.length);
h_request.setRequestHeader("Connection", "close");
h_request.send(parameters);
}

function alertContents() {
if (h_request.readyState == 4) {
if (h_request.status == 200) {
result = h_request.responseText;
document.getElementById('myspan').innerHTML = result;
} else {
alert('There was a problem with the request.');
}
}
}

function get(obj) {
var poststr = "mytextarea1=" + encodeURI( document.getElementById("mytextarea1").value ) +
"&mytextarea2=" + encodeURI( document.getElementById("mytextarea2").value );
makePOSTRequest('post.php', poststr);
}

// ]]></script>

<form action="javascript:get(document.getElementById('form1'));" name="form1" id="form1">
<textarea id="mytextarea1">testing data
1
2
3
</textarea>
<textarea id="mytextarea2">testing data 2
4
5
6</textarea>
<br>
<input type="button" name="button" value="Submit"
onclick="javascript:get(this.parentNode);">

</form>

<br><br>
Server-Response:<br>
<hr>
<span name="myspan" id="myspan"></span>
<hr>
Post.php
<?
print_r($_POST);
?>


Hope post helped you.
for questions comment on this.


:D

Know More About :
PHP Freelancing India

Friday, September 23, 2011

Optimizing PHP Through Habits

Hi Googler,

What has been a long interest of mine in writing simple, maintainable and secure (a.k.a. Good[tm]) code, has forked off the offspring of optimization.
There are nummerous discussions in the blogosphere about whether to use echo versus print, iffor() is faster than while(), etc. and though the gains are usually very small, I desided to add my thoughts to the debate.
I found an article on optimization through coding habits in Ilia Alshanetsky's zend performance slides and decided to test some of the claims. My test machine is my MacBook Pro 1.83GHz w. 2GB RAM, MacOS X 10.4.9, Apache 1.3 and PHP 5.2 (with Xdebug 2.0). I also have lots of applications running.
  • Peter Bowyer claims that require_once() is 3-4 times slower than require(). Ilia also says they are bad. My testing reveals the exact opposite with an empty include file. Callingrequire_once() 10000 times in a for() loop with an empty file is 4x faster.
  • Ilia advises against using magic functions like __autoload() and __get(), but the advantage of __autoload() in particular is obvious in any large project and is used by many phpframeworks. My primitive testing, however, shows inverse results. With a simply autoload requiring a class and 10000 loops of new Foo() versus require_once('foo.php'); new Foo() shows that __autoload() is ~3.7 times faster. I saw no difference between real methods and __get(), although the logic inside __get() will add some overhead.
  • If a class method can be static, declare it static. Speed improvement is by a factor of 4. I get a 50% speed increase (614ms vs. 414ms with 100000 iterations).
  • Avoid function calls within for() loop control blocks. In for( $i=0; $i<count($x); $i++ )the count($x) is called at every iteration.
  • Always, always quote array keys. $row['id'] is way faster than $row[id]. Ilia says 700%, I say about 200%.
  • Avoid regex if possible. Use ctype_digit($foo); rather than preg_match("![0-9]+!", $foo);.
  • Get rid of 'harmless' error messages - they take time to generate and output. The error supression operator @ is slow, so avoid when possible. With error_reporting set to E_ALL | E_STRICT on my machine, doing echo $rows[id] 10000 times instead of echo $rows['id]takes 38 times longer.

    UPDATE: To summarize, this slow code runs in 500ms (although this time will vary a great deal depending on your error_reporting level):






    $rows = array_fill(0, 10000, array('id'=>0));
    require_once('foo.php');
    for( $i=0; $i < count($rows); $i++) {
    foo::notdeclaredstatic();

    $rows[$i][id] = 0;
    }


    By using the techniques above, it can be made to complete in 68ms:
    $rows = array_fill(0, 10000, array('id'=>0));
    function __autoload($classname) { require_once( 'foo.php'); }
    $size = count($rows);
    for( $i=0; $i < $size; $i++) {
        foo::declaredstatic();
    
        $rows[$i]['id'] = 0;
    }
    10000 iterations is a lot for one request to a page. Using the techniques, the code became roughly 7 times faster.
    
    I am not out to prove Ilia wrong - he knows PHP better than most - and 
    for all I know, they could have optimized those very functions in PHP 5.2. I am, however, 
    interested in seeing what can be done to optimize PHP performance simply by doing things differently,
    by tweaking one's coding style. It would appear that there are improvements, albeit small, to achieve 
    from minimal effort. Plus I was surprised by the discrepancies I found compared to Ilia's recommendations.
    Hope this post helped you.
    Questions ?
    let me know by comments..
    :D

Thursday, September 22, 2011

Timezones in MySQL and PHP


Hay Googler,


Timezones in web applications are often dealt with the same way as character sets. Either incorrectly or ignored. The case of unicode is improving slowly as developers discover the need for international language support.


The problem with not handling timezones correctly is not apparent in the usual case of the webserver and the database server being in the same timezone. A lot of PHP code passes the task of timestamps on to MySQL, e.g. by calling NOW() on inserting or updating records. It is nessesary to know in what timezone the timestamps are stored to process them correctly.
Often a specific timezone is assumed for displaying date and time. This could very well be incorrect for a large number of visitors. If the database server is in yet another timezone, things begin to get out of sync.
MySQL's handling of timezones is - obviously - separate from that of PHP. Along with the fact that the MySQL timezone can only be changed by users with SUPER privileges, this means that MySQL cannot be relied on for creation of timestamps in correct timezone. In other words, the usual call toNOW() is not an option.
PHP 5.1 introduced the date_default_timezone_set() method for setting the timezone PHP will use for functions like date() (or alternatively the date.timezone php.ini directive). This allows for a flexible and consistent way of creating timestamps in the correct timezone form within PHP. One user in London might start a thread while a response comes from New York. To handle this consistently and make sure both users see local time and the correct timespan between the posts, use date_default_timezone_set() to create the timestamps from PHP in a fixed timezone like GMT.
Time for an example to illustrate the practical use of this. I created a simple class Timer for dealing with these operations. The methods will be called statically as there is no need to instantiate the class.


---------------------------------------------------------------------------------------
class Timer 
{   
    static function DatetimeInGMT() {
        return date("Y-m-d H:i:s", time()-date("Z",time()));
    }

    static function GMTDatetimeToLocal($datetime) {
        $time = strtotime($datetime);
        return date("Y-m-d H:i:s", $time+date("Z",$time));
    }
}
--------------------------------------------------------------------------------------------------------------------------------



Timer::DatetimeInGMT() produces a timestamp in GMT. I use it instead of MySQL's NOW()because it calculates the time relative to the timezone set in PHP rather than that of MySQL.



When reading the timestamp back in to PHP, another function call is needed to convert it back to whatever timezone PHP is in at that time (it might be a different user viewing with another timezone setting). That's the job of Timer::GMTDatetimeToLocal($datetime).
These two very simple functions and a correct setting of PHP's timezone will ensure that dates are stored in a consistent way and displayed correctly.


hope this post helped you.
questions ? let me know by comments !
:D




About

Professional & Experienced Freelance Developer From India, Technologist, Software Engineer, internet marketer and Open Sources Developer with experience in Finance, Telecoms and the Media. Contact Me for freelancing projects.

Enter your email address:

Delivered by FeedBurner