サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
やる気の出し方
debuggable.com
Deprecated post The authors of this post have marked it as deprecated. This means the information displayed is most likely outdated, inaccurate, boring or a combination of all three. Policy: We never delete deprecated posts, but they are not listed in our categories or show up in the search anymore. Comments: You can continue to leave comments on this post, but please consult Google or our search
Last night I was giving a talk about node.js in production at the Berlinjs user group. In the talk I shared some of our experiences at Transloadit, but also tried to cover the topic from a general angle. I concluded that running node apps in production comes with certain challenges, most notably the lack of useful stack traces when things go wrong. But that's something Ryan is working on, and a li
A few weeks ago I set out to create a new multipart/form-data parser for node.js. We need this parser for the new version of transloadit that we have been working on since our setback last month. The result is a new library called formidable, which, on a high level, makes receiving file uploads with node.js as easy as: var formidable = require('formidable') , http = require('http') , sys = require
UTF-8 is a variable-length character encoding for Unicode. This text is encoded in UTF-8, so the characters you are reading can consist of 1 to 4 bytes. As long as the characters fit within the ASCII range (0-127), there is exactly 1 byte used per character. But if I want to express a character outside the ASCII range, such as '¢', I need more bytes. The character '¢' for example consists of: 0xC2
Node.js has generally caused two reactions in people I've introduced it to. Basically people either "got it" right away, or they ended up being very confused. If you have been in the second group so far, here is my attempt to explain node: It is a command line tool. You download a tarball, compile and install the source. It let's you run JavaScript programs by typing 'node my_app.js' in your termi
Hey folks, it's been a while since the last post here on Debuggable. However, this ends now and apart from this very post here we have something bigger brewing for you as well. So please stay tuned a little longer. :) Anyways, on to some Caching fun. The Motivation 1. When you work with large projects you can end up with a ton of cache files (models, db cache, etc.) as well as view caching files.
Hey folks, many of you might have run into the problem of having multiple boxes on the same page that need to be paginated. For example you might have a left column with a list of members of your site and a right column that shows for a example a list of forums. Yeah, that's not the best example, but you get the idea. So the problem with Cake's paginator is, that its link structure does not know w
Hey folks, sorry for letting you guys wait so long, but here is my promised post on how to use Exceptions in CakePHP. Before you continue reading, be warned that you'll need PHP 5 as well as CakePHP 1.2 for this code to work properly. First of all. Why did I decide to experiment with exceptions in CakePHP? Well, Object::cakeError() does an ok job at providing me with a way to render some sort of i
Hey folks, as an application comes closer and closer to its launch date, not having cared about performance during development becomes more and more of a problem. There are several ways to improve the performance of your CakePHP application. The first thing one would think about is generally caching of your views and database queries. However, during development stage implementing caching can caus
If you want to take your debugging to the next level by getting a nice stack / function trace on errors that occur, then you should check out Xdebug by Derick Rethans (who I had the pleasure to meet at php|works). I've only been touching the surface of this powerful extensions so far, but its already been a pleasure to work with and I'll try to write more about it in future. Maybe I can even integ
このページを最初にブックマークしてみませんか?
『Debuggable - Node.js Consulting』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く