Showing posts with label OOP. Show all posts
Showing posts with label OOP. Show all posts

Sunday, January 4, 2009

そのこと

OOP doesn't really feel much different, doesn't really seem "better". It, at the moment just seems like more coding. however I've been able to pull it off


<?php
include("pages/header.php");
include_once("pages/gallery_class.php");
$gallery = new Gallery();
$gallery-?>writeGallery(japan);
include("pages/footer.php");
?>


does this:


Took me about an hour to get that going. Need to work on my lines of code vs. time ratio.

I've come to the age old conclusion that you simply cannot have enough RAM

Only five more days until I get to go back to my old server.!

今日は仕事にI forgot my lunch and decided that since I haven't been to Burger King in about 5 years I'd go and have lunch there. When I got upstairs from the office I found out there was a very mild blizzard going on. I dawn my hood and go out. The wind, and the snow/sleet, was blowing from the left to the right, when I had went outside I immediatly turned to the right out of habbit. The snow was hitting my back. So I walk a few steps and decide "I'll go the other way instead!" so I turn around and my hood and face gets filled with snow.....('° -°).

Saturday, December 20, 2008

Meaningful Names?

Meaningful Names?

So I was doing some design today, I had one earlier but it was broken from the get-go. I was doing the whole CSS thing, like I do, when I realized that most of my names aren't meaningful. That'll present a problem if for some reason the project grows large. Now I just need to throw some code behind it. I'm going to do it in C# just to get the hang of C#. Then I'm going to redo it in PHP and use as much OOP as I can so I can get the hang of using OOP.

The design is pretty simple, no phantasmal, whirling, blinking, blue and green neon lights. Only about 6 images by default. Nice and clean. I think it looks nice, I modeled it after my desktop kinda.

The Site:


My Desktop:


'This is stuff like this that broke up the Bloods and the Crypts....'

I love indenting stuff I indent the books on my bookshelves..... A long while ago I found out my indention style is similar to the GNU style It is nice to feel like I belong somewhere.
http://en.wikipedia.org/wiki/Indent_style#GNU_style

I've been using geany lately, look at those names! ( ° Д°)....
The CSS

Any idea on what those brackets next to the names mean?



The HTML


 

The styles that look like the K&R or the Banner styles, the styles used by most everyone uses, makes me want to vomit blood. Gotta get use to it though... Most everyone uses it and Geany caters to it...Maybe I should use emacs?

( ó ωò) 一人ぼっち ( T ^T)