(Services/Website Hosting)
Thursday, 12 January 2012
(PHP/Debugging)
Here is how to watch a log file for changes in a Linux command shell.
tail -f log/development.log
This command will let you watch a log file for changes as soon as they happen.
Monday, 20 June 2011
(General/LOL)
Here are some snippets of PHP
code which were found deep in the SVN source tree...
$shipping_amount=$shipping_amount;
Friday, 17 June 2011
(PHP/RapidPHP)
... need to check external link if it is an mp3 file. You will be able to do this:
$sniffer = new Smarty
code_Http_Mime();
$contentType = $sniffer->getMime($url);
if('audio/mpeg3' == $contentType) ...
Friday, 09 April 2010
(PHP/Gotchas)
I've started working on PHP
Code Check online tool, you can test early version of it here. Internally, it's based on
CodeSniffer parser. I am looking forward on to providing more options like uploadin
Friday, 12 March 2010
(PHP/Gotchas)
Here is a quick tip on enabling
code auto-completion on array of objects (i.e. when you fetch array of objects from a database table adapter).Imagine you have a Users model which extends Zend_Db_Table
Saturday, 06 February 2010
(PHP/Gotchas)
Ever looked through the Zend Framework
code and saw header comments like this? <?php
/**
* @version $Id: Exception.php 16200 2009-06-21 18:50:06Z thomas $
**/
Here is a quick tip on how th
Thursday, 05 November 2009
(PHP/Performance)
Here is a quick list of practices for faster PHP
code. Use single quotes instead of double quotes While this can be trivial, it might save some time especially if you
code handles lot
Wednesday, 21 October 2009
(PHP/Performance)
Running a MySQL server one should think of performance. In this article I will list several approaches to making your queries run faster, and overall MySQL server performance optimization to speed up
Thursday, 01 October 2009
(Services/Project Hosting)
Smarty
code has built its own platform for hosting web development projects. It’s built up on a stack of open source applications, configured for ultimate development experience. Your team will b
Saturday, 05 September 2009
(Services/Project Hosting)
Smarty
code has partnered with Assembla to provide you with a platform for development of your websites. Assembla has everything a distributed team of professionals may need: a Subversion repository, i
Saturday, 05 September 2009
(PHP/Gotchas)
... number of components (HTML elements) which use similar CSS rule.
Solution:Instead of fixing the CSS
code which isn't made by me anyway (I'm more of a backend developer than designer, but I think b...
Friday, 21 August 2009
(Improve/Website Optimization Techniques)
... faster page response times because JavaScript and CSS files are cached by browsers. JavaScript and CSS
code that is inlined in webpages gets downloaded every time the HTML document is requested. This...
Monday, 29 June 2009
(Services/Website Hosting)
Running a corporate and/or high traffic website and tired of users complaining about bad website performance?
Get your site optimized for ultimate performance in every possible aspect.
For a short
Monday, 29 June 2009
(PHP/Performance)
...ed modules (i.e., database access - PDO_Mysql), we need a PHP optimizer extension which would provide op
code cache allowing to speed up execution and save time by compiling all scripts just once. Reme...
Wednesday, 13 May 2009
(PHP/Performance)
... others) which are introduced as the Internet evolves its standards.
This front controller plugin's
code mostly takes concepts from the excellent article by Keystone Websites, but implements in Ze...
Wednesday, 22 April 2009
(PHP/Performance)
In this article I'll show you a simple approach to enable your Zend Framework application saving lots of precious bandwidth, and thus, making it more end-users friendly, and save on bandwidth costs.
Tuesday, 10 February 2009
(PHP/RapidPHP)
...base table.
We want to be able to easily fill select elements from database table with less repetitive
code. It's already easy to fill select elements with database data out of the box:
$db = Z...
Monday, 09 February 2009
(PHP/Debugging)
...
Next, create the following directory structure under library/ :
library /
- Zend
- Smarty
code
- Controller
- Action
- Helper
- Logger.php
Add th...
Sunday, 08 February 2009
(Improve/Website Optimization Techniques)
... whitespaces. This allows to save even more on bandwidth and produce faster webpages than before. Smarty
Code's professionals are using industry standard tools to minify Javascript and CSS files. Not o...
Sunday, 23 March 2008
(Improve/Website Optimization Techniques)
It is important for a website to have GZIP compression enabled. It is able to make your pages smaller up to 7 times (!).
The GZIP compression is an Apache server's feature.
Our professionals are
Sunday, 23 March 2008
(General/Frontpage)
...fast website that both looks professional and is designed for faster reposnse times.
Here, at Smarty
Code we know that noone likes sluggsih websites. Smarty
Code has been created specifically to ful...
Sunday, 13 January 2008
(News/Features)
Here, at Smarty
Code, we are concerned about deploying W3C standards for the new websites. Our sites take advantages of valid XHTML, CSS, HTML 4.01
code.
HTML 4.01 is the baseline for building website
Thursday, 27 December 2007
(News/Features)
...o reduce any site's loading times.
There are many best practices of reducing page's load times. Smarty
Code's professionals know more than other guys know.
We use:
HTTP Conditional GET - enables ...
Wednesday, 26 December 2007
(Static Content)
Collection of online tools for general and PHP website development:
PHP
Code Check
Parses your PHP
code and analyses it for matching rules of common programming conventiones (correct positioning
Friday, 12 March 2010