You are here:
  • Narrow screen resolution
  • Wide screen resolution
  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • green color
  • blue color

Search

Search Keyword code
Total 51 results found. Search for [ code ] with Google
Results 1 - 25 of 51

1. Smartycode Web Hosting

(Services/Website Hosting)
Thursday, 12 January 2012

2. Watch a Log file for changes

(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

3. Funny PHP code

(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

4. Getting MIME of remote file with Zend Framework

(PHP/RapidPHP) ... need to check external link if it is an mp3 file. You will be able to do this: $sniffer = new Smartycode_Http_Mime(); $contentType = $sniffer->getMime($url); if('audio/mpeg3' == $contentType) ...
Friday, 09 April 2010

5. PHP code check

(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

6. Code autocomplete for array objects (foreach)

(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

7. Little PHPDoc and SVN Integration

(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

8. Seven PHP performance rules you should be aware of

(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

9. MySQL Performance Tips

(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

10. Smartycode Project Hosting

(Services/Project Hosting) Smartycode 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

11. Assembla Project Hosting

(Services/Project Hosting) Smartycode 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

12. Super slow website on IE6?

(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

13. Separating CSS and JS from HTML

(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

14. Ultimate Website Performance Optimization

(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

15. Lighten the load for Zend Framework Application - Part I

(PHP/Performance) ...ed modules (i.e., database access - PDO_Mysql), we need a PHP optimizer extension which would provide opcode cache allowing to speed up execution and save time by compiling all scripts just once. Reme...
Wednesday, 13 May 2009

16. Serving XHTML in Zend Framework App

(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

17. Enable your Zend Framework App with Conditional GET! (Make it green)

(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

18. Database aware Select elements for Zend_Form (or Extending Zend_Form_Element_Multi)

(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

19. Debugging your ZF application with Firebug

(PHP/Debugging) ... Next, create the following directory structure under library/ : library / - Zend - Smartycode - Controller - Action - Helper - Logger.php Add th...
Sunday, 08 February 2009

20. CSS and Javascript Compression

(Improve/Website Optimization Techniques) ... whitespaces. This allows to save even more on bandwidth and produce faster webpages than before. SmartyCode's professionals are using industry standard tools to minify Javascript and CSS files. Not o...
Sunday, 23 March 2008

21. GZIP Compression

(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

22. Why SmartyCode?

(General/Frontpage) ...fast website that both looks professional and is designed for faster reposnse times. Here, at SmartyCode we know that noone likes sluggsih websites. SmartyCode has been created specifically to ful...
Sunday, 13 January 2008

23. Web Standards

(News/Features) Here, at SmartyCode, 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

24. Advanced site performance techniques

(News/Features) ...o reduce any site's loading times. There are many best practices of reducing page's load times. SmartyCode's professionals know more than other guys know. We use: HTTP Conditional GET - enables ...
Wednesday, 26 December 2007

25. Tools

(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