Zend Framework without MVC

Mar
04

The reasoning for using a framework such as Zend Framework (ZF for short) is to speed up the development process, make the application extensible, and make use of the design patterns such as MVC. I think MVC is great, and it separates the models, views and controllers and makes the entire development process very clean. If MVC is great, why would you use Zend Framework without MVC?

Posted By admin read more

Syntax Highlighter Usage (SYNTAXHIGHLIGHTER-OPTIONS)

Mar
04

I have been searching for Syntax Highlighter plug-in for Wordpress and Drupal, and decided to install the one available from Alex Gorbatchev. The module makes use of the Syntax Highlighter Javascript Library, and does the job I wanted. In order for Syntax Highlighter plug-in to work, you'll have to install both Javascript library and the module developed for Durpal or Wordpress. Once the module is installed, the syntax for using it is pretty much the same.

Posted By admin read more

Zend Framework 1 Overview

Mar
03

Developing a PHP application requires domain knowledge, software engineering, discipline and time. We rarely write applications from scratch as there are freely available application frameworks that we can take advantage of. For PHP programming language, there are more than a dozen "popular" frameworks to choose from, and picking the right framework for your application is not a mundane task. I have been working as an IT consultants for many years, and Zend Framework is the one being discussed frequently.

Posted By admin read more

TortoiseSVN overlays do not update

Mar
01

TortoiseSVN OverlaysFor those who have used TortoiseSVN as a SVN client, you sure to have experienced Windows overlay icons not updating to their correct status. This makes it hard to know which files have been updated, and whether they need commit if you're working with a large number of files.

Posted By scott read more

How to configure Eclipse to use spaces instead of tabs?

Feb
24

When writing a maintainable code, indentation plays important role. This may be one reason Python requires proper indentation as the programming syntax. A traditional tab indents 8 spaces, and we all know 8 spaces are just to much for coding indentation. We all opt to use 4 spaces for programming indentation, but how do you accomplish this? We can configure a TAB to indent only 4 whitespaces, or use 4 physical spaces? There are tradeoffs, and it's a matter of personal taste.

Posted By admin read more

Where is php.ini file located?

Feb
17

When you are working with various flavors of Linux servers, you may not know where php.ini file is located. The php.ini file is a php configuration file that is used to customize the behaviors and features of the php scripting language. A php.ini file is placed in different directory location of a server depending on the flavor and version of the Linux server you're working with. Here are a few ways to determine where the php.ini configuration is located.

If you have an access to shell, you may use the following Linux commands to locate the php.ini file.

Posted By admin read more

Missing closing php tag

Feb
17

I have seen many open-source web applications such as Drupal and Wordpress with missing closing php tag (?>) in header and other include files. The application does work flawlessly, and I am curious to know why those closing tags are missing. According to the php.net manual, ...

Posted By admin read more

How to run PHP with HTML extension?

Feb
16

There are a couple of reasons why you may want to run php with html extension. You may have a static website with highly ranked web pages, and would like to retain search engine indexing and ranking while converting the site to use server-side technology. Or, you may not want to reveal server-side technology to your website visitors for security reasons. While others may just prefer plain old html extensions over php extensions on their URLs. Regardless of your reasoning, using a server-side technology such as PHP with html extension is easy to setup.

Posted By admin read more

How to test if a form is submitted?

Feb
16

We live in a very busy world, and sometimes we try to get things done quick-and-dirty. One of the most popular example is to create a PHP script that renders a view and also handles form submission (action). So, what is the best way to test if a form has been submitted?

For example, let's look at the HTML form snippet below:

Posted By scott read more

PHP Soap Client Example

Feb
09

1. What is SOAP?

SOAP (Simple Object Access Protocol) is an XML-based communication protocol designed to exchange information between applications. The protocol itself is not tied to a particular operating system or programming language, so the client and server running any platform written in any programming language can exchange soap messages. Web service is gaining popularity, and there are quite a few protocols available but SOAP is probably one of the most popular protocol used today. SOAP server publishes a service over a HTTP, and SOAP client consumes the service.

Posted By scott read more

Pages

Subscribe to Web Traffic Exchange RSS