Use case: We have two tables: Preferences and Countries. While editing preferences user should be able to select multiple countries and save the selection.

Read the rest of this entry »

Posted by Rostislav Palivoda, filed under PHP. Date: April 9, 2008, 10:56 am | 3 Comments »

Use case: User uploads image to the web server. Image should be resized and cropped. Image saved to the database. Show successfully uploaded image on the web page.

Read the rest of this entry »

Posted by Rostislav Palivoda, filed under PHP. Date: April 8, 2008, 2:23 pm | 2 Comments »

METHOD OF FORMING, DISTRIBUTION AND VERIFICATION
OF THE PROTECTED ELECTRONIC MARKS

Finally I own patent for the invention that concerns to computer facilities, in particular to creation of an information and marketing centre for forming, distribution and issue of protected electronic marks used for confirmation of the right to use a service, to receive money or goods. Read the rest of this entry »

Posted by Rostislav Palivoda, filed under News. Date: April 7, 2008, 3:13 pm | No Comments »

Today I’ve got a new solution about data level authorization. Let me start with the problem case the topic is about.
Users Jack and Andy has a Policy records in the database. One record belongs to Jack and another to Andy. System should allow Jack to make CRUD only on his records, and behave the same way for Andy. This means Andy do not see and is not able to modify Jacks’ records in the database.
Read the rest of this entry »

Posted by Rostislav Palivoda, filed under PHP. Date: April 4, 2008, 3:20 pm | No Comments »

03  Apr
Ideju Kauss 2008

While the digital stamps patent is pending we successfully passed first round of Ideju Kauss 2008 with the idea of digital discount coupons. We are going to create valuable business plan and win the “Cup of Ideas”.

Posted by Rostislav Palivoda, filed under News. Date: April 3, 2008, 8:59 pm | No Comments »

There are situations when the form should show two select boxes in the parent - child style. For example when in the parent select box user selects country the child select should show cities only of that country.
There are at least two approaches to update child select box:

  1. load all cities and update contents of child select box by javascript filter;
  2. load cities from server on each change of country.

While the first one is simple it could be not the optimal solution for big arrays of data. Current tutorial will show how to make the second one with CapePHP.

Read the rest of this entry »

Posted by Rostislav Palivoda, filed under PHP. Date: April 2, 2008, 8:03 pm | 7 Comments »

Inspired by this implementation of menu element for CakePHP I found that I require multilevel menus. It’s nice and can highlight current page. Furthermore it should fit drop down menu css layout. Now I need to show or hide element is there is authenticated user, but later I will need to hide menu items that are disabled by standard acl rules. Read the rest of this entry »

Posted by Rostislav Palivoda, filed under PHP. Date: April 1, 2008, 2:40 pm | 18 Comments »

30  Mar
Hello World!

Finally I’ve got some time to setup WordPress and make some design to start new site. The old one is at www.palivoda.id.lv New hosting, new site, new solutions! Hello new world :)

Posted by Rostislav Palivoda, filed under News. Date: March 30, 2008, 10:50 pm | No Comments »

Next Entries »