HOME    BROWSE    DEFINE    NEWEST    ABOUT THE SITE   


diary of a trapped mind:

Features:

Intro
=====

1. User can define slangs either in burmese or burglish by selecting appropriate radio button
2. Same slang can be defined several times by different users
3. Users can vote for the slangs (the cool/sucks value will reflect the popularity of the slang itself and/or competition between different definitions of the same slang)
4. Users can search for slangs either in burmese or burglish
5. If there are more than one definitions of the same slang, the one with the highest "cool" value will be displayed on top (i.e, results are sorted in desending order)


index page
==========

- index page will show non-repeating random slangs. the number of random slangs can be configured.
- different definitions of same slang can show up (this is also considered non-repeating)
- clicking on the slang will take the user to a page where slangs can be voted
- if the random slang is not available in burmese, burglish version will be displayed
- the definition of "gaw di" with highest "cool" value will always display on top
- If there is no "gaw di" defintion yet in the db, the hard coded definition will be displayed
- the hard coded definition of "gaw di" cannot be voted but the real "gaw di" from the db can be


defining a slang
===============
- user can define a slang by clicking "DEFINE" on the main menu
- click on "DEFINE" will take user to input page where english keyboard is the default
- clicking on keyboard preference radio buttons will change the language of the page including the textarea accordingly
- clicking on burmese keyboard preference radio button will display Win Inwwa keyboard layout
- after filling out the input form, user will have a chance to review what has been entered
- user can go back to edit, or save it

why win inwwa?? don't really know...i guess a few online friends started chatting in CE CLASSIC and/or Win Innwa and it was kinda choosen just like that.


searching
=========

- user can search for exact words
- a new function called "cheap_guess" is implemented. It uses pattern matching to guess similar words
- cheap_guess (not very intelligent) searches for pattern*, *pattern, *pattern*
- the number of results returned by cheap_guess can be configured
- if there are no matches at all, the word is chopped up into pieces and the cheap_guess is done again


fixed: clicking on refresh button will not increase the vote values on search page
However, one can vote unlimited times by clicking on up arrow or down arrow..why?? first off, this is not a voting system for a presidential election...second, it's more fun...maybe we can limit it to 3 or 5 times...

Newest page
===========

- a new page ,"newest.php", is added.
- it shows the newest n entries that was entered into the system
- n can be configured of course
- on the right side, it shows the top vote up getters
- again the number of top slangs can be configured, top 10 slangs..top 20 slangs..etc


oh yeah there's an issue that i don't quite understand with IE

1. on define page, click burmese keyboard radio butotn
2. if the starting character is [ { } ] | \ ; : " ' < , , >? /, it doesn't show the respective burmese character

it's fine if you start with some other character and type one of those

any idea??

FireFox is Ok.


- created a new file javascript_functions.js
- it has javascripts


9/14/06

- tweaked search function a little bit
- Now it can search burglish word, and it's associated burmese word and vice versa

for example, here is what we have in db

burmese burglish
-------------------
jrefrm myanmar
jrefrm burma
- myanmar
jrefrm -

if you search, "jrefrm" in burmese, it'll print out all four entries
likewise, if you search "myanmar" , it'll print out all four entries
sadly, if you search for burma, it only returns 3 entries


browse
======

- added a new page called "browse"
- it shows everything in the db
- font size is random
- page numbers are random (burmese and english)
- The current page number will have a significantly bigger font, so that the viewer konws the current page









Maybe I can choke u for fun...maybe i can kill you...maybe i can break your heart...but tell me...

who really cares??


gollystarz © 2006