Feb
26

Three books to help you learn CakePHP

Filed under General by tonie
In this post I'm going to create a summary of some books, which helped me get started with CakePHP and become a "baker". I will try to make a logical separation of the content by level of advancement.
Feb
24

Презентация на Icygen в CityUniversity

Filed under Marketing, На Български by tonie
От 13:00 часа днес в CityU caмpus Pravetz на гости ни бяха представители от компанията Icygen. Г-жа (или г-ца, не знам точно кое от двете :P) Петя Гърбева и още две нейни колежки, разказаха на студентите от 3-ти и 4-ти курс как Интернет може да се използва като ефективна и ефикасна маркетинг медия.
Feb
19

Pretty CakePHP error messages with jQuery

Filed under CSS, Design, Javascript, PHP by tonie
One of Cake's core components is the Session component, which in most cases will be an inevitable part of your application. Among saving and reading session data, you can use sessions to improve application responsiveness by throwing messages to your users in order to notify them about what has happened as a result of their action.
Feb
14

Basic application security considerations

Filed under General, Design by tonie
A very interesting discussion inspired me to write about some basic rules you have to understand before you publish your web application live. We were arguing on whether to clean up data before saving it to the DB or before displaying it to the user. So here are some basic security principles, every web developer should be aware of.
Feb
13

CakePHP and jQuery comments via AJAX

Filed under Javascript, PHP by tonie
I found it really difficult to display an error message from my Comment model in my post view. As I researched a bit the web, it turns out that there's no easy way to do that. There are however some approaches in the bakery, which suggest you build an additional component to handle this situation. I took a different approach.
Sep
03

Mod_rewrite magic several things to consider

Filed under Linux by tonie
Yes, it is definitely a voodoo, powerful and beautiful, but still a voodoo. There are several things I had to learn the hard way before I got the hang of Apache's URL rewriting module - mostly trial and error (some stuff I couldn't even suppose existed)
Jun
14

Problems with wp-o-matic plug-in

Filed under PHP by tonie
I had to fight with it for two days before making it work as I wanted to, but after quite of a struggle, I managed to get it fixed
May
19

Simple yet effective ad management trick

Filed under PHP by tonie
Well? Do you hard code your ads or do you use a sophisticated ad management plug-in?I don't do either. Here's what I do to manage ads throughout a website.
May
15

Really simple PHP gallery script

Filed under PHP by tonie
Right. Have you ever wanted to just log on with your FTP account, upload a bunch of pictures and do nothing more to create a good looking gallery page. Well, this is exactly what this script does. No complicated uploading techniques, just log on with your FTP account and put the pictures you want in different folders, which represent the corresponding albums.
Apr
28

Keyword search in a MySQL database

Filed under MySQL, PHP by tonie

For the following example, let's suppose that you have a database table, named posts with 5 fields in there: id, title, author, body, tags. What we want to do is create a script, that will allow users to search your database for any keyword matches.

Apr
25

Using layouts and viewports in ExtJS

Filed under Javascript by tonie

In my introduction to this wonderful JavaScript framework, we talked about installing ExtJS and creating some simple message boxes and prompts. Today I want to focus on the "clothes" that good web applications wear - The Layout. Ext provides a very flexible way of creating a beautiful desktop-like environment, which fills 100% of your screen and gives the kind of a feeling you are actually browsing through your e-mails in Outlook.

Apr
19

Flash snowflakes with ActionScript 2.0

Filed under Flash by tonie
Last year I made a few flash demos to show-off a portfolio for my old blog (which was entirely flash based) and this is one of them. Here is how you can create dynamically some random size snowflakes for your next Christmas Flash Project :)
Apr
18

Flash analog clock for Nokia 6300

Filed under Flash by tonie
A little toy that I've created using Flash CS3 a while back. It suits my Nokia 6300 perfectly.
Apr
11

Кариери 2009

Filed under На Български by tonie
На 8ми Април, 2009 в гр. Пловдив се проведе "Форумът за студентски стаж и кариери". Събитието беше организирано от jobtiger.bg в конгесния център на пловдивския панаир.
Apr
10

Hotel reservations with PHP and MySQL

Filed under MySQL, PHP by tonie
Recently I had to figure out a solution to the following problem: A client of mine, who owns a restaurant wanted his customers to be able to make real time online table reservations. Before I start, let me tell you that this is a very basic example to show you how you can use PHP to create a reservation system. The actual script I wrote for my client was more complex than this, since it required better time management of the restaurant's tables, cell phone message notification, more extensive error handling, etc.