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 26 - 50 of 51

26. Smartycode Team

(Static Content) Introducing the Smartycode team - great people evolving the web
Thursday, 30 July 2009

27. Hosting

(Static Content) ...of features like PHP5, MySQL, SVN! Get your hosting at Dreamhost now! And don't forget to use promo codes from SmartyCode. They'll save you amazing $50. So you get your hosting for a great value o...
Friday, 31 October 2008

28. 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

29. Smartycode Team

(Static Content) Introducing the Smartycode team - great people evolving the web
Thursday, 30 July 2009

30. Hosting

(Static Content) ...of features like PHP5, MySQL, SVN! Get your hosting at Dreamhost now! And don't forget to use promo codes from SmartyCode. They'll save you amazing $50. So you get your hosting for a great value o...
Friday, 31 October 2008

31. Website Optimization Techniques

(Category Blog) ...aster for your visitors. Your site's visitors will enjoy the benefits of faster browsing. Contact SmartyCode's representative now to get a free quote for your website. Below are the features deplo...

32. Services

(Section Blog) Smartycode provides services for website development and optimization. We have created a number of websites using Zend Framework PHP library as well as optimized existing websites.

33. Demo

(Section List) Demonstration of code and performance techniques. Check out the exciting demos of optimized website solutions!

34. Debugging your ZF application with Firebug

(Comments) Thanks a lot! A good example of Action Helper too! Actually your code needs some debugging... but this is our work, no? I think that changing the name of the private logger from $logger to $_logger (a
Thursday, 23 April 2009

35. Debugging your ZF application with Firebug

(Comments) ... function named "direct" by function "logger" to make it works because you named your helper as: "Smartycode_Controller_Action_Helper_Logger". I can't make your second method _call works. I'm getting ...
Saturday, 04 April 2009

36. Debugging your ZF application with Firebug

(Comments) Hello Andrew, I have updated the code and usage example.
Sunday, 29 March 2009

37. Debugging your ZF application with Firebug

(Comments) I like your approach to this. However, I was unable to get it to work. I think you have a bug in your code since I copied from your tutorial. I keep getting "bad log priority". Let me know when you ha
Friday, 27 March 2009

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

(Comments) Thanks a lot! I find this code very usefull! But it's not easy to understand it first time.
Monday, 12 October 2009

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

(Comments) Hello Christine, You might have already found the solution by this time :) I think you need to use setValue method for pre-selecting value, i.e. $form->getElement('someDbSelect')->setValue('yourvalue'
Tuesday, 02 June 2009

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

(Comments) ...r your feedback. I guess thought you should put the 2xx or 304 check in such a way that, in case of any code different from 2xx or 304, it actually exits and does not add any additional cache header. ...
Saturday, 27 February 2010

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

(Comments) ...o article. I've taken the todo's text from W3C specs :) What is means here, is that "if we set response code somewhere in the application to i.e. 404 or 500, these should not be handled by conditional...
Friday, 26 February 2010

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

(Comments) ...l chars stripped off. Here it is, to be placed at the beginning of the shudownloop function: $response_code = $this->getResponse()->getHttpResponseCode(); if (! (($response_code [GREATER THAN] 200 AN...
Tuesday, 23 February 2010

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

(Comments) ...is be a correct implementation for your TODO block ? public function dispatchLoopShutdown() { $response_code = $this->getResponse()->getHttpResponseCode(); if (! (($response_code >= 200 && $response_c...
Tuesday, 23 February 2010

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

(Comments) @Jon: what are using to check headers? I use Firefox's addon "Live HTTP Headers" @Malte, thanks, the code corrected. I also updated the code to get rid of no-cache directive (see update description in
Saturday, 28 March 2009

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

(Comments) very interesting! but is the code after foreach needed when we send code 304? also Etag gets set a second time in the else part of if($send_body)
Friday, 27 March 2009

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

(Comments) ...che's trunk, I figured there is no problem and that -gzip should be stripped in etag check. Updated the code, ETag handling now works also with recent apache versions on gzipped content....
Friday, 27 March 2009

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

(Comments) Cool stuff. I think you mean: $frontController->registerPlugin(new Smartycode_Http_Conditional(), 101);
Thursday, 26 March 2009

48. Serving XHTML in Zend Framework App

(Comments) Thanks, I have corrected the code. The code worked fine with Opera and Chrome for me. Make sure that your layout file looks like this: <head> ... </head> <body> <span>Some tex
Friday, 24 April 2009

49. Serving XHTML in Zend Framework App

(Comments) ...ce: Undefined property: Zend_Controller_Response_Http::$getBody in /var/www/htdocs/immogo/library/Smartycode/Controller/Plugin/XhtmlServe.php on line 61...
Thursday, 23 April 2009

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

(Comments) I've been looking for the past hour for that little snip of lighttpd.conf code that uses index.php as a request handler. Thank you so much for having it here! It's always the simplest things that are
Friday, 26 June 2009