phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,



CakePHP Installation Step by Step part 2: At previous post, we have learned about CakePHP. The next step that we need is install Cake to our local machine. As they promise, install and set up Cake in the local machine is not a very difficult. I will show in this post how do it.

Before, do this job, we must know what CakePHP need. Don't worry, Cake not ask high environment standard. It works with PHP4 and PHP5. Don't worry about compatibility issues. But, in this practice, I use PHP5. Using PHP5 for CakePHP application is definitely recommended.


Read the rest of this entry »


CakePHP Installation Step by Step part 1:We ever talk PHP framework: CodeIgniter and Zend Framework. Now, we will talk one of other popular PHP Framework: CakePHP. CakePHP offer a collection of code, libraries, classes, and run-time environment that helps developers build web applications faster. Many advantages that you get if use open-source framework like CakePHP, CodeIgniter, Zend Framework, etc. By using them, we also know (and will have) the developer team have developed the frameworks. These framework will open our mind about 'other world' out of us.

In this post, I introduction what is CakePHP and what can it help us in web application development. Target in this post series, we understand about CakePHP and can install it.


Read the rest of this entry »


This article provides tables to support your regular expressions need at PHP. Regular expressions transform became a language such as sql in database word. We always call it, Regex. Regex are a language used for parsing and manipulating text. Actually, they are used to search a pattern in text. Then, we can do more such as replacing operation and validating data. This post will collect tables PHP metacharacters that support for regex.

Before see tables, I want to show you a summary of the tables. Look following mind map:


mindmap about php metacharacters
Read the rest of this entry »


(by Santosh K. Patnaik) Web-based applications like blogs, content management systems (CMSs), forums, newsfeed aggregators, and wikis that utilize user-submitted text are widely deployed today. Often the applications permit HTML code in the text; after all, the input is used for display in web-pages.


HTML specifications are not just about the HTML elements and attributes. For instance, there are rules regarding characters and character entities (like '&' to represent the ampersand '&'). Plain text in the input that has no obvious HTML markup is thus still technically HTML.

Users either directly type the HTML code in the text, or the code is indirectly put in through BBCode (in which surrogates like '[url=...]' are used to represent HTML code like '<a href=...>'), WYSIWYG (What You See Is What You Get) editors like TinyMCE, etc.

Both BBCode and the browser-based WYSIWYG systems are capable of generating the most correct HTML markup without typographical or syntactical errors, they may have only a limited ability to restrict the markup (e.g., to disallow certain attributes for the HTML elements), and they generally do not encompass all of HTML (e.g., to deal with the 'form' HTML element)
Read the rest of this entry »


Do you have web performance problem? Do you want to increase web page loading? Here, I try to collect all thing, you must know, how to speed up web page loading at client side. Begin from browser, machine or hardware, until connection. Please tell us if you have more idea.
Read the rest of this entry »


26
Aug
Wrapping Text
You may want to fixed width of column. So, all text on that page are wraped at the particular column width. You can use PHP's wordwrap() function. That function limits text display to a particular column size, thereby allowing precise control over how text is rendered on web page. You can combine with PHP's nl2br() function. That function translates the wrapped text by converting the new line sequence into HTML line break elemen <br />
Read the rest of this entry »


You can give color at PHP syntax lines. We called "highlight". If you want to display lines of PHP source code with syntax highlight, you can use PHP's highlight_string() or highlight_string() functions. This function provides an easy way to generate color-coded versions of PHP source code. The default colors used by these functions can be configured in the php.ini file.
Read the rest of this entry »


Page:  1  2  3  4  5  6 ... > >> 

624
posting