nodejs, cluster, memcached under high load put to production

Written on June 1, 2011 – 3:07 pm | by Stan Kuhn |

With new requirement from our client to implement instant messaging to high traffic dating website we had to consider technology  which would let us to get push notifications or something close to it. Doing real push could be somewhat tricky across different web browsers, sockets are not fully implemented and IE would possibly be ok just with long polling. In any case [...]

Google maps freezes the browser on HTCs with Froyo

Written on February 1, 2011 – 6:03 pm | by Lukas1 |

Recently I ran into very unpleasant bug, while developing webaplication optimized for Android that uses Google Maps API. This issue seems to be related to HTC Android 2.2(Froyo) based smartphones, only. It’s not a problem caused by incorrect implementing of Google Maps API into the project, I’ve been working on, since the same issue occurs [...]

Web applications for touch mobile phones – first look

Written on November 5, 2010 – 12:37 pm | by Stan Kuhn |

Web sites for mobile phones. Said this way it’s probably nothing new, however saying web applications for forward-thinking devices e.g iPhone or Android perhaps makes a difference.  They are not future as many say, they are already here and are already dominating mobile phones market. In our most busy website in US when we lunched [...]

Why you should not use @ sign in PHP

Written on October 22, 2010 – 8:05 am | by Stan Kuhn |

For those who don’t know @ is error control operator. Taken from PHP documentation “When prepended to an expression in PHP, any error messages that might be generated by that expression will be ignored”. In other words error message won’t be printed out. There are some situations when  @ sign might be helpful e.g. include() [...]

Learning LAMP web developement – 7. User session management and cookies

Written on July 21, 2010 – 2:33 pm | by Stan Kuhn |

What the session is for… Session data is suppose to hold some information about one particular visitor during his browsing session or even longer. Session data is right place where to store identification information or user after log in, information about his preferences how or what to show on the website, to store some information [...]

Tags: ,

Resolving conflicts in Subversion (SVN)

Written on July 6, 2010 – 7:09 pm | by Stan Kuhn |

As I have seen many people not being able to sort out conflict state of their local copy of the project I decided to write a little about it. First of all why do these conflicts happen. Subversion unlike for example SourceSafe from Microsoft by default does not require locking of files in repository when [...]

Learning LAMP web developement – 6. PHP project organization, framework, libraries and third party code

Written on June 14, 2010 – 3:52 pm | by Stan Kuhn |

Source code re-usability is one of the most important things if you plan to keep developing applications for longer. All Internet applications have set of functionalities that are common. These are for example, User management, permissions management, CMS functionality, forums, categories, menus, profiles etc. Therefore you don’t have to write a lot of code from [...]

Testing Smarty 3 beta and RC performance, comparing with Smarty 2

Written on June 4, 2010 – 8:17 pm | by Gaspo |

Smarty is template engine used for separation front-end HTML for designers and back-end PHP for programmers. We’ve been using Smarty 2 for years. Now when Smarty 3 is in Release candidate stage, its time to think about an upgrade. Smarty 3 is  rewritten from scratch in PHP 5 and its not suppose to work under [...]

Tags:

Website hack through tinyMCE filemanager plugin

Written on June 1, 2010 – 5:45 am | by Stan Kuhn |

Few days ago we realized that one of our client website is not working at all.  After short while we found that the site was probably hacked. This is a server of our client which purpose is mainly to run older non maintained projects. There was also one old Mambo CMS website installation which apart [...]

Learning LAMP web developement – 5. coding style

Written on May 12, 2010 – 12:23 pm | by Stan Kuhn |

As many opinions as many people. I don’t want to talk here about which coding style is good and which is bad. I’ll tell you what coding habits are good for team development and what are not. If you look at the code of someone you can tell a lot from it. Mainly whether author [...]

Tags: ,