Advanced Debugging with JavaScript
When used effectively, JavaScript debuggers help find and squash errors in your JavaScript code. To become an advanced JavaScript debugger, you’ll need to know about the debuggers available to you, the typical JavaScript debugging workflow, and code requirements for effective debugging. In this article, we’ll discuss advanced debugging techniques for diagnosing and treating bugs using a sample web application.
Comments: 0
Views: 1258
Rating: 







A caching pattern for models
This is a caching pattern for models using Zend_Cache and the __call magic method. The initial thought behind this is that a model should be able to return calls either uncached or cached, without initializing some cache object every time. It should be easy to switch between the two calls, and the cache should be coming with the model object already.
Comments: 0
Views: 1228
Rating: 







Automated Testing Using Zend Framework
Automated testing for your web applications is an important step in having the confidence to make changes to your application, and still be confident you’re delivering a quality, regression-free product. With Zend Framework’s testing framework (built with PHPUnit), you can build a thorough suite of test cases for your web application with very little hassle.
This article will give you all of the basic information you need to start writing automated tests for your Zend Framework applications.
This article will give you all of the basic information you need to start writing automated tests for your Zend Framework applications.
Comments: 0
Views: 2224
Rating: 







Integrating FCKeditor with Zend_Form
How to use FCKeditor, or any other WYSIWYG editor, with Zend_Form? Another relatively common question. There are many ways you can do this, but let’s look at these two as they are the best in my opinion:
* Adding some JavaScript to your view script
* Creating a Zend_Form_Decorator
We’ll be using FCKeditor, but you can apply the techniques shown to others, such as TinyMCE, as well.
* Adding some JavaScript to your view script
* Creating a Zend_Form_Decorator
We’ll be using FCKeditor, but you can apply the techniques shown to others, such as TinyMCE, as well.
Comments: 0
Views: 2026
Rating: 







An Introduction to the Art of Unit Testing in PHP
Testing is an essential aspect of developing in any programming language. If you don't test your source code then how can you verify it works as expected? Manual testing can only be performed irregularly and usually only in limited ways. The answer to testing source code regularly, and in depth, is to write automated tests which can be frequently executed. In PHP such tests are usually written using a unit testing framework, a framework which allows the source code of any application or library to be tested as isolated units of functionality such as a single class or method. As unit testing has gained popularity, it has become a standard practice in PHP with libraries and frameworks such as Swiftmailer, the Zend Framework and Symfony all requiring unit test coverage of their source code.
Unit Testing is often seen as an arcane, time consuming task - which it sometimes can be! But the point of spending time writing tests is to improve the quality of your source code so it has fewer overall bugs, many of which are detected early, a continual testing process to prevent new changes from changing the behaviour of older code, and to provide confidence that your code can be depended on. There are other benefits too, and we'll detail these later.
Unit Testing is often seen as an arcane, time consuming task - which it sometimes can be! But the point of spending time writing tests is to improve the quality of your source code so it has fewer overall bugs, many of which are detected early, a continual testing process to prevent new changes from changing the behaviour of older code, and to provide confidence that your code can be depended on. There are other benefits too, and we'll detail these later.
Comments: 0
Views: 1156
Rating: 







How Google Really Wants You to Optimize Your Site
Does Google care for SEO? Yes, it does: from Google's SEO Starter Guide to help provided in the Google Webmaster Help Forum, the search engine is pretty transparent when it comes to how it prefers you to optimize your site for inclusion. We'll be discussing URL structure, TrustRank and duplicate content issues.
To start with a conclusion: if you do what they like, chances are your site will not only included, but also ranked better. And now let's go "in depth" and see, once and for all, how Google prefers you to optimize your site for its search engine.
All questions in this article were asked by users on Google Moderator Beta, Ask a Google Engineer.
To start with a conclusion: if you do what they like, chances are your site will not only included, but also ranked better. And now let's go "in depth" and see, once and for all, how Google prefers you to optimize your site for its search engine.
All questions in this article were asked by users on Google Moderator Beta, Ask a Google Engineer.
Comments: 0
Views: 2313
Rating: 







10 Steps to Learn a New Coding Language Fast
Learning a new language can seem like a daunting task. However, as it is with all types of learning, there are certain techniques and practices that will help you learn the language faster and more efficiently. Here are 10 of the best practices that aspiring programmers can use to quickly start programming in a new language.
Comments: 0
Views: 1476
Rating: 







Русский
Українська