Entries Tagged with: web-dev
iPhone Simulator in Xcode 4.3.2
The iPhone simulator is kind of hidden in Xcode 4.3.2. If you need it to check websites you are working on in an iOS device, you can setup a symlink to put it in your
Run the following in your terminal.
ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app /Applications/iPhone\ Simulator.app
Bust 'yo cache!
If you're using a CDN such as the one we have setup at EngineHosting, it is possible that your cache will get "stale" since the nodes will hold on to your static assets for as long as the expires headers you send tell them to. There are a couple of different methods we can employ to ensure when you push a new build of your site, the CDN will always come back to your origin servers and get the right versions of files.
I've been over this before, but a real key to success here is managing your ...
Local Branching with Mercurial
As you may or may not know, at EllisLab, we use Mercurial for our source control management. When we moved to hg from SVN, we were highly critical of what system we wanted to use, and spent a good amount of time looking into the different distributed version control systems out there. In the end, we found that Mercurial suits us best.
When we were on SVN, I used git-svn, as I love the ability to branch locally, hack away—committing often, then merge & push to the 'blessed repository.' One of my struggles in moving to Mercurial, is that there ...
My Development Setup
After about two+ years of tinkering and experimenting, I'm finally at peace with my development setup. While it wasn't as painful as my quest to find my favorite tenor saxophone mouthpiece, (a hard rubber Otto Link Slant Sig 7* from the 70s, if you care) it was still a long process.
Early on, I used WAMP then moved to Ubuntu and got everything I need from Aptitude. Then I got a Mac and started using MAMP again. I then got sick of the MAMP icon in my dock, so I started using a headless Ubuntu VM in VMware ...
MHT Setup in Tornado Applications
I've been working in Tornado a lot lately. If you don't know of it, it's a Python-based web server/framework written for Friend Feed which has since been open-sourced by Facebook.
The docs do a decent job getting you started, however, to really dig into the application you need to pour over the source code. As Mr. van Rossum says in PEP 8, code is read more often than it is written, and the FriendFeed/Facebook team has done a beautiful job with this application.
So there's a ton of ways to skin a cat in ...