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.
От 13:00 часа днес в CityU caмpus Pravetz на гости ни бяха представители от компанията Icygen. Г-жа (или г-ца, не знам точно кое от двете :P) Петя Гърбева и още две нейни колежки, разказаха на студентите от 3-ти и 4-ти курс как Интернет може да се използва като ефективна и ефикасна маркетинг медия.
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.
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.
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.
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)
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
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.
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.
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.
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.
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 :)
Filed under
Flash by
tonie
A little toy that I've created using Flash CS3 a while back. It suits my Nokia 6300 perfectly.
На 8
ми Април, 2009 в гр. Пловдив се проведе "Форумът за студентски стаж и кариери". Събитието беше организирано от
jobtiger.bg в конгесния център на пловдивския панаир.
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.