After some issues with upgrading my Wodpress to 2.7.1 version (qtranslate plugin was the problem, but I found a solution on its forums), I found this post in draws. There is one of the translated parts of UserFriendly comic. A little Christmas atmosphere there, but it dosen’t  matter. :)   A nice accent after time without any posts.

Comments No Comments »

CakePHP logo25th December the final version of this great framework has been released. A lot of people put a lot of work, this event could became a reality.

On Cake’s website you can read a kind of summarizing this work: http://bakery.cakephp.org/articles/view/the-gift-of-1-2-final

Comments Comments Off

If you want to change, for example, at phpmyadmin to the program mentioned in the title, we may be faced with problems with the connection, as it was with me. The reason may be accepting only local connection by MySQL server. Assuming that we have the power to edit the file /etc/mysql/ my.cnf, just comment line:

bind-address = 127.0.0.1

and restart MySQL Server.

Comments No Comments »

Some time ago I had the approach to the topic of programming (mainly in the context of web applications) such that I wrote everything myself, to have greater satisfaction with what I do. It was not until the time came convinced that the “reinventing the wheel” does not have the least sense – as is already better known as the wheel is built. This kind of thinking was much more practical – especially using the framework that I have guarantee of solutions to a number of repeating  problems by people more experienced than me.

That approach lead me to my first framework based on PHP which is CakePHP. I’m in the middle of my first project with it. Some time it took me a concept of philosophy of Cake, but was worth. In addition, this was not particularly difficult, because the framework is very clear (at least I gave such an impression).

What exactly CakePHP is? I’ll quote the authors:

CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. Using commonly known design patterns like MVC and ORM within the convention over configuration paradigm, CakePHP reduces development costs and helps developers write less code.

Session Management, the creation of forms, CRUD database opearations – these and other issues have to resolve any programmer writing Web applications. And in principle no longer exists, or has these problems, much less, because many of them resolves CakePHP.

Cake’s big advantage (and probably not only this framework) is a file-naming convention, classes and the directory structure suggested by the authors. This allows you to easily find up in the draft.

I don’t like in Cake the fact that the authors hold compatibility with PHP4. This is a version of PHP already really outdated. I hope that version 2.x Cake will only support PHP5.

Comments 3 Comments »

Let’s assume we want to create a menu using code like that:

<div id="menu">
<ul>
<li><a>link1</a></li>
<li><a>link2</a></li>
<li><a>link3</a></li>
</ul>
</div>

and we will use CSS like that:


#menu li a{

border-color: #AEAEAE #AEAEAE #AEAEAE #8CCE20;

border-width: 0 1px 1px 0;

border-style: solid;

color: #1F2024;

display: block;

font-family: Verdana;

font-size: .775em;

height: 14px;

padding: 10px 0 8px 13px;

text-decoration: none;

}

Internet Explorer will add unnecessary space beetween each list’s element, so i.e. frame borders could be discontinued.  The solution is to add this line:

vertical-align: bottom;

to “#menu li a”.

Source: http://phonophunk.com/articles/ie-fix-for-gaps-between-list-items.php

Comments 1 Comment »

At last – I’ve bought my own domain – I didn’t want to wait any more, because there are less nice interesting domain names. I’ve decided to launch this new blog, independent from the Blogspot service, using the popular Wordpress blog system.

I won’t import any posts from the old Raph’s world – this blog should be something new and the old one should stay as archive and reminder of my first blogging experiences.

One of the reasons why I’m writing this blog is I want to describe my experiences with computer programming – so I can go back to some things after a while. I would like to focus on that more than in my first blog.

The new Raph’s world will be bilingual blog, so I hope I’ll develop my English language skills. I would ask all readers (if are or will be any;)) to point out any mistakes in my English posts. I will be very grateful for that.

Enjoy reading and discuss. :)

Comments 1 Comment »