Php Interface and Abstract Classes

December 02 0 Comments

Php Interface and Abstract Classes

Object Interfaces Object interfaces allow you to create code which specifies which methods a class must implement, without having to define how these methods are handled. Interfaces are defined using the interface keyword, in the same way as a standard class, but without any of the methods having their contents defined. All methods declared in […]

Symfony2 Doctrine DBAL on Mac OS X with MAMP: SQLSTATE[HY000] [2002]

June 09 3 Comments

The Problem: Installing on Mac OS X the MAMP and trying to configure my project that run on Symfiny2, while running from terminal or IDE, the command line: php app/console doctrine:database:create I received the error: Could not create database for connection named my_db_name SQLSTATE[HY000] [2002] No such file or directory Why this happens: This happen […]

Best Bookmark Management Tools

April 04 1 Comment

Xmarks Xmarks stands above the competition due to its ability to not only help organize bookmarks, but find useful, new websites. The tool most importantly allows users to synchronize bookmarks between computers and also has the ability to synchronize passwords. Xmarks tracks down new websites for you by highlighting the three top results in your […]

How to dump arrays to different log files in Symfony?

January 04 1 Comment

Logging on a separate log file in Symfony: $logPath = sfConfig::get('sf_log_dir') . '/debug_chat.log'; $logger = new sfFileLogger(new sfEventDispatcher(), array('file' => $logPath)); $logger->info("Info"); Dumping the array: $logger->info(var_export($arrayVar, true));

Linux terminal command line tutorial

December 08 0 Comments

  Command Description  Users and Groups cat /etc/passwd | cut -d: -f1  – show all users list cat /etc/group | cut -d: -f1  – show all groups list useradd [options] {username}  – add a new user passwd {username}   – set the password for a user chown {username}:{groupname} {foldername}  – set a ne owner or group […]

STB Girls Grand Prix on Red Motor Circuit

December 07 0 Comments

Grand Prix of STB Softwere Development Girls Team on Red Motor Circuit

STB Boys Grand Prix on Red Motor Circuit

December 07 0 Comments

Grand Prix of STB Softwere Development Boys Team on Red Motor Circuit 1. Gran Prix – Competitors presentation in girl’s opinion 2. Gran Prix – Qualifications Start 3. Gran Prix – Qualifying Session Results 4. Gran Prix – Race Start 5.  Grand Prix – Results

Linux permission denied on Apache while connecting to PostgreSQL

December 07 2 Comments

The Problem: If you receive the following error wile trying to access postgresql on Linux ( Centos 6 in my case but could happen for other distributions as well ): PDO Connection Error: SQLSTATE[08006] [7] could not connect to server: Permission denied Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port […]

Worknets

June 22 0 Comments

Visit website » About Project Date: April 2011 – April 2012 Role: Developer (back-end & front-end) Used technologies: Symfony 1.4 PHP Framework, Doctrine ORM, YML, PHP, jQuery, HTML, CSS, PostgreSQL, Jira PM, SVN, Wiki, Confluence; Used concepts: ORM, OOP, framework, jQuery requests, yml, unit testing, functional testing, tasks in symfony; Aplication description: Worknets – Collaborative […]