Laravel blade not compiling or showing in browser.

I was having an issue that when I saved a file using winscp to laravel4 the view in the browser would not change. I figured out that laravel view blades caches to app/storage/view and the way it knows whether to recompile it is by the dates the view blade file was changed and the cache file was created. In winscp the cache file was off by an hour ahead.

The way I fixed this was by changing winscp login environment settings to “Preserve Remote Timestamp”

and also adjusting my server time to match the actual time on my other computer.

The server time has to be an earlier time than your computer

Also this was a fix to the issue with sublimetext sftp package sync funcitonality.

Resources:
http://forums.laravel.io/viewtopic.php?id=2550

How to install memcached on Lampp for Ubuntu 11.10

Install the server and php extention:

$ apt-get install memcached
$ pecl install Memcache

Edit your php.ini:

$ nano opt/lampp/etc/php.ini

Add the following line to the file and save the changes:

extension=/path/to/extension/memcache.so

If you only provide the name of the extension, PHP will look for it in its default extension directory. If not found it will not work. Path Eg: /usr/lib/php5/200905+lfs/memcache.so

Restart Lampp:

/opt/lampp/lampp restart

To check if memcached is running:

$ ps aux | grep memcached

Sample code:

<?php    
$memcache = new Memcache;
$memcache->connect("localhost",11211); # You might need to set "localhost" to "127.0.0.1"

echo "Server's version: " . $memcache->getVersion() . "
\n"; $tmp_object = new stdClass; $tmp_object->str_attr = "test"; $tmp_object->int_attr = 123; $memcache->set("key",$tmp_object,false,10); echo "Store data in the cache (data will expire in 10 seconds)
\n"; echo "Data from the cache:
\n"; var_dump($memcache->get("key")); ?>

The memcached configuration file can be found here:

/etc/memcached.conf

>Developing Software

>If you want to develop a kick ass software that is salable create an awesome almost impossible project. Let me explain.

You see many of the software we use today was created to solve a problem. It wasn’t created because someone taught this would be nice and cool to have. Look at Weta Digital an Oscar winning visual effect company responsible for Lord of the Rings trilogy and Avatar. They created MASSIVE and CityBot because the work they needed in their movies. Another example is 37signals Basecamp which gave birth to Ruby on Rails. There’s so many others as well.

I’m a firm believer in solving your problem first and maybe someone else may benefit it from it or not. But if they don’t at least you solved your problem.

>Debugging for Internet Explorer

>I posted earlier that I will stop going out of my way to make a site compatible with Internet Explore. However that is not a choice for everyone and if you have a client who is out of touch they might want comparability with IE so here is a link to My Debugbar IE tester. Its a free software that allow you to test your website on all IE version without having to download IE.

Seen at Slice and Dice that PSD second video towards the end.