Homepage
I, Me and Myself
Portfolio
Mindfolio
Blog
Guestbook

La la lies by Diana King

Posted on July 12, 10 @ 08:56 am under Sing Along and has no comments.

Oh why, oh why, oh why,
You tell me l-l-l-lies
Never t-t-t-t-think
That I woulda re-a-li-a-li-a-lize
Things you say-ay-ay-ay-ay-ay
Will make you fay-ay-ay-ade away
So b-b-b-bye-bye-bye-bye(goodbye)

12 o'clock last night in a club
U an a girl do de rub-a-dub-dub
Short black dress and long curly hair
Don't deny it cause I saw you dere
Step 1 mi did dede when you giv her di line
Step 2 mi did dede when you looked so sincere
Step 3 mi did dede when you hold her close and
Tell her everything dat she waah fe fear
Why you play those games,
Those g-g-g-games with me
Oh,oh,oh,oh,no,no,no,no,no.......

Oh why,oh why,oh why,
You tell me l-l-l-lies
Never t-t-t-t-t-think
That I woulda re-a-li-a-li-a-lize
Things you say-ay-ay-ay-ay
Will make you fay-ay-ayay-ade away
So b-b-b-b-bye-bye-bye-bye
B-b-b-b-bye-bye-bye(goodbye)

12 o'clock in a de afternoon
U come around wit di same old tune
Gwan on an on like say everything fine
When all di time me know sey a lie,you did a lie
Step 1 me did dede when u give her de kiss
Step 2 mi two eyes as me witness
Step 3 giv mi mi keys and exit please
Your day done so u better move on
Why you play those games
Those g-g-g-games with me
Oh,oh,oh,oh,no.No.No.No,no,no....

Oh why,oh why,oh why,
You tell me l-l-l-lies
Never t-t-t-t-t-think
That I woulda re-a-li-a-li-a-lize
Things you say-ay-ay-ay-ay
Will make you fay-ay-ayay-ade away
So b-b-b-b-bye-bye-bye-bye
B-b-b-b-bye-bye-bye(goodbye)

Oh why,oh why,oh why,
You tell me l-l-l-lies
Never t-t-t-t-t-think
That I woulda re-a-li-a-li-a-lize
Things you say-ay-ay-ay-ay
Will make you fay-ay-ayay-ade away
So b-b-b-b-bye-bye-bye-bye
B-b-b-b-bye-bye-bye(goodbye)

PHP frameworks are very hard for me

Posted on July 04, 10 @ 07:35 am under Mind Views and has no comments.

I am not telling any one to stop using PHP frameworks. Using a framework actually adds lot of (usefull and useless) code, which is hard to remember for novice coders like me. People say it is good practice to use a framework and we can manage the code easily. But I face difficulty in using them.

I am one of those novice programmers placing the php code above the html of each page. I use conditional redirects to specific php pages. I use a library called Jasmine, which takes care of database connections and has commonly used functions across the applications. I pass values from URLs, ofcourse I do proper validation before accepting the values into the scripts.

I started observing that the code I was writing was perfectly alright, and the application is made secure by validating and other stuff. But the URLs seem ugly. As a programmer it is ok for me, but in the SEO point of view, it was ugly. because URL parameters were getting neglected. So I thought to use some URL rewriting techniques. Very soon I found that using a framework would be good.

I made my quest of which framework to use. Started with cakephp. It looked ok, but logically understanding the flow was difficult. Then switched to Kohana. It looked very much comfortable. I even rewrote my jasmine code as library for Kohana v2. One major drawback I observed is controllers within folders cannot exceed depth of 2, i.e I could not call the controller written in the second sub folder from URL. This made me go back to the market of frameworks. Came across Kohana v3, but it was appeared strange to me. Documentation was very poor to understand. I finally settled with Codeigniter. Excellent documentation and ease of coding. Bingo, I hit the bulls eye.

I confirmed myself to use codeigniter in one of my currently running projects. Logically, every thing is fantastic. Templating, seperation of controllers, models and views. Even the nested controller problem got disappeared. I was happy and felt my self royal by using a framework. I thought to write Codeigniter as my competancy in my resume.

Now starts the problem. I was going on adding features to the projects, and the file count increased. Even though I named the files briefly, it was hard to remember which file has which functionality. Sometimes I had to call the same model in multiple controllers and had to rewrite so mych of same code again and again. Then I thought to make the application compact and effective. So I merged some controllers and placed logically related code as functions. So it was easy to call just few files.

Most of the pages in my application were using a template. A place holder only got the data to be displayed. I had to write so many functions in models, so many functions in controller and so many views called from within the template.

This time, the problem is only with me. I have to go through so many lines of code to find the code to change. Even though it is possible to search by looking at URL. I really get scared by looking such a huge code. Plus, the index.php file in the root gets triggered on every request. This inturn invokes huge number of php scripts. Obviously occupying memory. I was surprised when I saw ~1MB memory usage for a page of just 2KB.

Sometimes I feel like.. hey.. i could have implemented this feature in a much simpler way.. why am i writing so much of code for this. Then i answer myself.. dude.. even if u write in a simpler way, framework will only understand the complex way. I cannot even call the individual script directly, because the framework has taken the complete control of the project. I feel disgusted. I have to manage the titles, meta data and other stuff again and again for every controller. I feel the work as very tedious.

In my 5 years of PHP code development, I developed a habit of writing PHP scripts the traditional way, i.e the script of the top of html. I feel comfortable with it, because I can implement the required functionality very fast. Handling scripts was very easy. Framework makes me write so much of code, so much of memory eating while executing.

Finally I have decided, not to use any frameworks in my future projects. For those ugly urls, i will use htaccess url rewrite techniques.

June 27, 2010

Posted on June 26, 10 @ 08:27 pm under Diary and has no comments.

These days I am collecting the stotras written by Sri Sankaracharya. Collected a few and still searching for more. I have made the text in unicode telugu and kept in the blog, under the category - Sankaracharya Stotras. Check it out. Will create a separate place to download the text in english, telugu. Am also planning to create a e-book of compilation of stotras.

Lalitha Pancharatnam in telugu

Posted on June 26, 10 @ 08:13 pm under Sankaracharya Stotras and has no comments.

శ్రీ లలితాపంచరత్నమ్

ప్రాతః స్మరామి లలితావదనారవిందం
బింబాధరం పృథులమౌక్తికశోభినాసమ్
ఆకర్ణదీర్ఘనయనం మణికుండలాఢ్యాం
మందస్మితం మృగమదోజ్జ్వలఫాలదేశమ్ || ౧ ||

ప్రాతర్భజామి లలితాభుజకల్పవల్లీం
రత్నాంగుళీయలసదంగుళిపల్లవాఢ్యామ్
మాణిక్యహేమవలయాంగదశోభమానాం
పుండ్రేక్షుచాపకుసుమేషుసృణీర్దధానామ్ || ౨ ||

ప్రాతర్నమామి లలితాచరణారవిందం
భక్తేష్టదాననిరతం భవసింధుపోతమ్
పద్మాసనాదిసురనాయకపూజనీయం
పద్మాంకుశధ్వజసుదర్శనలాంఛనాఢ్యమ్ || ౩ ||

ప్రాతః స్తువే పరశివాం లలితాం భవానీం
త్రయ్యంతవేద్యవిభవాం కరుణానవద్యామ్
విశ్వస్య సృష్టవిలయస్థితిహేతుభూతాం
విద్యేశ్వరీం నిగమవాఙ్మమనసాతిదూరామ్ || ౪ ||

ప్రాతర్వదామి లలితే తవ పుణ్యనామ
కామేశ్వరీతి కమలేతి మహేశ్వరీతి
శ్రీశాంభవీతి జగతాం జననీ పరేతి
వాగ్దేవతేతి వచసా త్రిపురేశ్వరీతి || ౫ ||

యః శ్లోకపంచకమిదం లలితాంబికాయాః
సౌభాగ్యదం సులలితం పఠతి ప్రభాతే
తస్మై దదాతి లలితా ఝటితి ప్రసన్నా
విద్యాం శ్రియం విమలసౌఖ్యమనంతకీర్తిమ్ || ౬ ||

Ganesha Pancharatnam in telugu

Posted on June 26, 10 @ 08:09 pm under Sankaracharya Stotras and has no comments.

గణేశ పంచరత్నమ్

ముదా కరా త్తమోదకం సదా విముక్తి సాధకం
కలాధరావతంసకం విలాసిలోకరక్షకమ్,
అనాయకైకనాయకం వినాశితేభదైత్యకం
నతాశుభాశునాశకం నమామి తం వినాయకమ్ - ౧

నతేతరాతి భీకరం నవోదితార్కభాస్వరం
నమత్సురారి నిర్జరం నతాధికాపదుద్ధరమ్
సురేశ్వరం నిధీశ్వరం గజేశ్వరం గణేశ్వరం
మహేశ్వరం తమాశ్రయే పరాత్పరం నిరంతరమ్ - ౨

సమస్తలోక శంకరం నిరస్తదైత్యకుంజరం
దరేతరోదరం వరం వరేభవక్త్రమక్షరమ్
కృపాకరం క్షమాకరం ముదాకరం యశస్కరం
మనస్కరం నమస్కృతాం నమస్కరోమి భాస్వరమ్ - ౩

అకించనార్తి మార్జనం చిరంతనోక్తి భాజనం
పురారి పూర్వనందనం సురారి గర్వ చర్వణమ్
ప్రపంచనాశభీషణం ధనంజయాది భూషణం
కపోలదానవారణం భజే పురాణవారణమ్ - ౪

నితాంతకాంతదంత కాంతిమంతకాంతకాత్మజం
అచింత్యరూప మంతహీన మంతరాయ కృంతనమ్
హృదంతరే నిరంతరం వసంతమేవ యోగినాం
తమేకదంతమేవ తం విచింతయామి సంతతమ్ - ౫

మహాగణేశ పంచరత్న మాదరేణయో2న్వహం
ప్రజల్పతి ప్రభాతకే హృది స్మరన్గణేశ్వరమ్
అరోగతాం అదోషతాం సుసాహితీం సుపుత్రతాం
సమాహితాయురష్టభూతి మభ్యుపైతి సో2చిరాత్ - ౬

Totakashtakam in telugu

Posted on June 26, 10 @ 07:51 pm under Sankaracharya Stotras and has no comments.

తోటకాష్టకం

విదితాఖిలశాస్త్రసుధాజలధే మహితోపనిషత్ కథితార్థనిధే |
హృదయే కలయే విమలం చరణం భవ శంకర దేశిక మే శరణమ్ || ౧||

కరుణావరుణాలయ పాలయ మాం భవసాగరదుఃఖవిదూనహృదమ్ |
రచయాఖిలదర్శనతత్త్వవిదం భవ శంకర దేశిక మే శరణమ్ || ౨||

భవతా జనతా సుహితా భవితా నిజబోధవిచారణ చారుమతే |
కలయేశ్వరజీవవివేకవిదం భవ శంకర దేశిక మే శరణమ్ || ౩||

భవ ఏవ భవానితి మే నితరాం సమజాయత చేతసి కౌతుకితా |
మమ వారయ మోహమహాజలధిం భవ శంకర దేశిక మే శరణం || ౪||

సుకృతే 2ధికృతే బహుధా భవతో భవితా సమదర్శనలాలసతా |
అతిదీనమిమం పరిపాలయ మాం భవ శంకర దేశిక మే శరణమ్ || ౫||

జగతీమవితుం కలితాకృతయో విచరంతి మహామహసశ్ఛలతః |
అహిమాంశురివాత్ర విభాసి గురో భవ శంకర దేశిక మే శరణమ్ || ౬||

గురుపుంగవ పుంగవకేతన తే సమతామయతాం నహి కో ? సుధీః |
శరణాగతవత్సల తత్త్వనిధే భవ శంకర దేశిక మే శరణమ్ || ౭||

విదితా న మయా విశదైకకలా న చ కించన కాంచనమస్తి గురో |
ద్రుతమేవ విధేహి కృపాం సహజాం భవ శంకర దేశిక మే శరణమ్ || ౮||

June 07, 2010

Posted on June 07, 10 @ 02:02 am under Databases and has no comments.

Working in PHP frameworks is very fun and interesting. Just define controller, view and woooo.. page appears. URL rewriting is also very easy. After reading reviews on Kohana, I want to give a try to my website. Let me see how well I can use Kohana in improving my website.

June 06, 2010

Posted on June 06, 10 @ 01:21 pm under Diary and has no comments.

After so much of hearing about php frameworks, I decided to give it a try. I am using Codeigniter in one of the projects that I am developing. After developing some controllers, models and views, I find CodeIgniter to be very comfortable framework. Previously I studied Kohana, and migrated some jasmine code to it. But CodeIgniter is pretty much easy to use. I learnt lot of tricks in developing projects on CodeIgniter.

First time ever in the World, a Grand Symphony of a 1000 Sitarists - Raag Hansadhwani

Posted on June 01, 10 @ 07:28 am under Websites to see and has no comments.

This morning i got something very pleasant to hear. See the links.

http://www.youtube.com/watch?v=IBtK2HeDnt0

http://www.youtube.com/watch?v=6Vw-y38gsvA

http://www.youtube.com/watch?v=GIA99SZQqhM

25 divided by 5 is 14

Posted on April 09, 10 @ 10:06 am under Websites to see and has no comments.

Today i learned that 25 divided by 5 is 14. See http://www.youtube.com/watch?v=CdNFtJOkQpU. I know its old, but its new for me.

Pages: [1] - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 - 21 - 22 - 23 - 24 - 25 - 26 - 27

•   Databases (7)
•   Diary (79)
•   HTML and Javascript (2)
•   For Your Information (15)
•   iSpecial Jokes (13)
•   Java related (1)
•   Javascript (1)
•   Jokes (42)
•   Mind Views (20)
•   My Observations (8)
•   Open Source Tech. (6)
•   PHP (6)
•   My Poetry (10)
•   Reviews (2)
•   Sing Along (15)
•   Sankaracharya Stotras (3)
•   My Talent (1)
•   Uncategorized (12)
•   Webservers (3)
•   Websites to see (18)
•   WML and WAP (3)

•   It is my personal site. Content included here is according to my wish. If you don't like my site, close it and go away.
•   'Mind Views' and 'My Observations' are purely opinions of mine and not others. If something in this site hurts you, control
     your mind and send me a mail. We will discuss. If you go to court of law, it's your wish. Every citizen has a right to express, so do I.
•   Some content in this site might not be appropriate for some audience, whose opinions differ with me. So don't try to argue with me.
•   Important: Don't try to judge me just by glancing this website. I am different outside.
•   This is a time-pass site. Reading it in a hurry will be useless.