(Services/Website Hosting)
Thursday, 12 January 2012
(PHP/RapidPHP)
... 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) echo ...
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
(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
(Improve/Website Optimization Techniques)
...lined in webpages gets downloaded every time the HTML document is requested. This reduces the number of
HTTP requests that are needed, but increases the size of the HTML document. On the other hand, i...
Monday, 29 June 2009
(Services/Website Hosting)
...l bring your website to the top performance level.
What this optimization package includes:
HTTP compression for every webpage on your website. - saves your users and your server's bandwid...
Monday, 29 June 2009
(PHP/Performance)
...x distribution because it comes with the excellent package manager yum
Web server: Apache and/or Lig
httpd. Lig
httpd is best choice for its high speed io-infrastructure allowing to handle great num...
Wednesday, 13 May 2009
(PHP/Performance)
...ge at /some/url. If browser supports compressed pages, it can provide preferration for gzipped pages in
HTTP request. The server then sends a gzipped version of that same pages to the browser (that is...
Wednesday, 22 April 2009
(PHP/Performance)
..., and thus, making it more end-users friendly, and save on bandwidth costs.
This technique involves
HTTP conditional GET. This is basically a feature of the
HTTP protocol. By sending correct
HTTP ...
Tuesday, 10 February 2009
(General/Frontpage)
Creating a website need not be an expensive and complicated process. Catering to the needs of individuals and small businesses is difficult for large web design houses, because building a smaller-scal
Sunday, 13 January 2008
(News/Features)
...s of reducing page's load times. SmartyCode's professionals know more than other guys know.
We use:
HTTP Conditional GET - enables your php driven websites become browser-cache friendly with absol...
Wednesday, 26 December 2007
(Static Content)
Introducing the Smartycode team - great people evolving the web
Thursday, 30 July 2009
(Static Content)
We have partnered with Dreamhost to give your websites best hosting solution available!
You get fantastic 500 GB of disk space, 5 TB of bandwidth and lots of features like PHP5, MySQL, SVN!
Get y
Friday, 31 October 2008
(Static Content)
Introducing the Smartycode team - great people evolving the web
Thursday, 30 July 2009
(Static Content)
We have partnered with Dreamhost to give your websites best hosting solution available!
You get fantastic 500 GB of disk space, 5 TB of bandwidth and lots of features like PHP5, MySQL, SVN!
Get y
Friday, 31 October 2008
(Web Links / IRC Клиенты)
Лучший кроссплатформенный IRC клиент. Есть версии как под Linux, так и для Windows.
Tuesday, 22 May 2007
(Newsfeeds / Smartycode)
https://www.odesk.com/jobs/rss?q=PHP&refurl=dvershinin
(Comments)
You may want to note the caveat about eTags popularized by the Steve Souders book:
http://developer.yahoo.com/performance/rules.html#etags If you use more than one server, turn off eTags altogether.
Sunday, 20 June 2010
(Comments)
Hi Danila, thanks for 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 addit
Saturday, 27 February 2010
(Comments)
Hi Giovanni, thanks for your contribution. I have included it onto 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 applicati
Friday, 26 February 2010
(Comments)
..., to be placed at the beginning of the shudownloop function: $response_code = $this->getResponse()->get
HttpResponseCode(); if (! (($response_code [GREATER THAN] 200 AND $response_code [LOWER THAN] 20...
Tuesday, 23 February 2010
(Comments)
...or your TODO block ? public function dispatchLoopShutdown() { $response_code = $this->getResponse()->get
HttpResponseCode(); if (! (($response_code >= 200 && $response_code...
Tuesday, 23 February 2010
(Comments)
I was trnslate this article -
http://lobach.info/develop/zf/enable-conditional-get-in-zend-framework-app/
Tuesday, 07 April 2009
(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
(Comments)
...de the correction @Jon: recent versions of apache add -gzip to ETag values due to an issue raised here:
https://issues.apache.org/bugzilla/show_bug.cgi?id=39727 It wasn't implemented correctly and -gz...
Friday, 27 March 2009
(Comments)
Cool stuff. I think you mean: $frontController->registerPlugin(new Smartycode_
Http_Conditional(), 101);
Thursday, 26 March 2009
(Comments)
... actually be done in dispatchLoopShutdown but it needs to be installed on the server as pecl extension (
http://pl2.php.net/tidy)...
Saturday, 25 April 2009
(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
(Comments)
...n different language (depending on the user's browser/operation system locale, it will send appropriate
http header to indicate its language preferrance)....
Friday, 24 April 2009
(Comments)
If I use MSIE 6 or 7 I become a notice: Notice: 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
(Comments)
...se()->getBody) ....should be: . str_replace('>', '>', $this->getResponse()->getBody()) Although this,
http://validator.w3.org/ isn't validating the web I'm applying the plugin. One error and 2 warni...
Thursday, 23 April 2009
(Comments)
I've been looking for the past hour for that little snip of lig
httpd.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