Zend Framework & ExtJS Grid – part 1

The old way to make a grid was very time consuming. Basically it is just copy paste but still there is a lot to rewrite. You have to take care of the actions, pager and maybe a filter.

So i tried ext js grid. Since extjs renders the grid alone and looks a lot better then my grids which are done with smarty, html table and css.

Read more

prototype, scriptaculous Chained Select

For one of my projects i had to make some select boxes which would work in a chain. I had 500.000 inserts in mysql which should be found easily. So i implemented 5 chained select boxes.

The first part of the project was not meant to be public so i limited my work to Firefox. But after a while the public part started and i wanted to use some ready made widgets in smarty (like my address widget with 5 chained select boxes). When i tried it in IE 6 it did not worked.

Read more

Getting lazy with frameworks (ZEND)

For my new huge project, i did some research so I would work less. I started with cake php and after one week learning i decided that it is no good for me. My last project is not a web site and cakephp looks like it is done for making blogs and news pages.

Then i started to look at ZEND FRAMEWORK. It is a lot more flexible then cakephp and i also didnt needed scafolding. So after learning about a week I started to work on the project. In the begining it went very well, but after 2 month the pain started. I just got to lazy and depended on the framework.

On my earlier projects I allways wrote a small framework which would help me to work through the project. If i had to write something more than twice, I decided to write a function or even better an object.

When i work with zend framework, i just skipped the first process and started to write hardcoded in to the actions. Now as things get more complicated I have a great lack of my usual objects and classes.

So i learned, never get layz of writing the helpers of a project. Take around 30% in the begining of a project for writing your own objects. This will also help you to solve problems even before they occur.

script.aculo.us Effect.toggle.(‘MyAss’)

For one of my clients, i had to clean up some mess which was done by another college. The web site has a registration form and a login form which is both in the same screen. This makes the screen look too big and too complicated. There were also some fields and forms which are at wish if you only choose specific options.

So i decided to make the form look smaller. I wanted to hide some fields until they are not checked or used. I stared to program at 21:40.

1. Scenario 21:50 (after some cigarets and jagermeister)

I have some background experience with http://mootools.net and http://script.aculo.us. Because I allready use scriptticolumous in the web site i decided to use scriptaulimoumus but I still don’t know how to spell it or read (always have to search on google.com that he corrects my misspelling).

Read more

Unlock Falk Navigator 3500 Pro SC (Tyhpoon MyGuide 3500 GO)

Last year, short before christmas 2005, i went by car to Germany to visit my parents and relatives. I never went before to Germany by car so it took like 7 hours to go there instead of 4 hours, the problem was that i was lost several times finding the right way to home. So my father decided to by me gps navigation device for which i am very thankfull to him because i still loose my way where ever I go without the navigator.

We bought the navigator in mediamarkt for 350 euros which was quite expensive, the price went down to 199 euros a month later. As written above name of the device is Falk Navigator 3500 Pro SC with some europe maps.

Of course i had to hack it, it took like a month that i was finished with it but it is now as usable as a handheld pc.

So these are the first steps to unlock it.

Read more

What to write ?

After my instinct grove up to write a make a blog as before written i started my blog. I was pretty sure that i would be able to write something. Now i am sitting in front of my computer and dont know what to write.

I speak 4 languages (Sloven like in Slovenia, English, Turkish and German) so I had to decide in which language i am going to write. Since i live in Slovenija sloven could be a good choice but i just live here for 4 years and have no idea how to write correctly in sloven. Once i had to write a letter for getting an internet connection at home, the lady there said i have to write an “Izjava” “Letter” that i really want internet at home, i thought ok maybe she didnt liked my voice so i write it down. For sure i didnt knew how the sloven people write this so i asked “Kaj moram napisati ?” “What do i have to write ?” then she said “Izjava” that i want internet at home, so i wrote with my really ugly handwriting an “Izjava”. I just wrote one line with a few words, something like “bla bla bla i want internet at home” and gave it to her. She almost had an heart attack, she was shocked. She started to tell me about how bad the schools in Slovenija became and people wouldnt be able even to write. Then i explained her as i always do, that bla bla i lived earlier in bla bla and didnt knew bla bla so i do not speak or write sloven very well, then she wrote the “Izjava” instead of me. 🙂 . So i said sloven is no good for me.

I could write in german, i studied a few years german language and literature in “9 Eylul” faculty. The quality of the writings would be same as sloven but without grammatical errors. But i dont like german language so i am not going to write in german.

Turkish is the language which i use for about 25 years so i and will write also in turkish.

English is a beautiful language, even if you speak or write wrong it sounds and looks correct :-).

Now i know which languages i am going to use English and Turkish. Still the problem is and I think it is quite visible i dont know how to write rather than i dont know what to write. Some people which are aware of my problem told that i would gain the skills through writing. I hope so, other vise no one will understand what i am trying to tell. 🙂