I’ve been coding lots and lots for many hours, but I can finally see the end for Waggonersboots.com version 2.0. I may have to come up with a new front-end to signify a change, but right now, it’s pretty similar in style. The backend is WAY more extensible though. With logging for errors and data changes, and a pretty good seperation of logic and presentation, I think it’s going to be a lot better. I hope to get some page editing in place for the admin, and better integration with Paypal and Google Checkout. I can’t quite what I should do with data consistency. If we want to remove a product from the website, I would normally just delete it out of the database, but that creates some inconsistency, such as, if we wanted to look at selling history. I’ll probably continue to delete them, to remove the extra load on the database for indexing, etc, but I’m not sure what the rules are. At my current job, I do a lot of reading. It’s hard to get used to, because the only jobs I’ve had before, I was expected to be, or at least look, busy. In some ways it’s nice, but it gets to be a little dull. I’ve been reading over MySQL, and even though I haven’t done much with it at work yet, I’ve implemented a lot of it into the WB’s code. Here’s one that I came up with today:
It’s pretty simple to most with SQL experience, but came as a revelation when trying to do different hacks in PHP. This query gets the types of variations (e.g. Size, Color) in order by the fewest distinctions. It’s useful for making a list such as (Colors are always top-level in this I then take a PHP function and sort it like this, for use in usort(): Rather than hardcoding it, I thought it best to make it smart. I’ve implemented the site in PHP5, and I’m crossing my fingers that the shift from MySQL 5 to MySQL 4.1 won’t cause too many problems.
Chapter 8 . Understanding the Boot Process 315 Table 8-10 chkconfig Options Option Function –level
Asheez (9:02:27 PM): i found inspiration for you Nateez (9:05:54 PM): what??! Asheez (9:06:03 PM): sup Nateez (9:07:29 PM): nothing…i wish i was getting all up in some tiny rich tittayz right now though Asheez (9:07:51 PM): click the link above for more info Nateez (9:08:32 PM): how could that possibly be arousing? Asheez (9:08:52 PM): it isnt SUPPOSED to be Nateez (9:09:35 PM): mmmmmm Asheez (9:09:57 PM): where the hell is this penis coming from???? Asheez (9:19:31 PM): no Nateez (9:21:05 PM): lol Asheez (9:21:24 PM): i never knew amy adams had no boobs Nateez (9:21:48 PM): yeah Asheez (9:21:52 PM): also, im not going to ruin your school life ever again Nateez (9:22:00 PM): what? Asheez (9:22:15 PM): your penis Nateez (9:22:16 PM): so that there is no further complication Asheez (9:26:02 PM): well, im not saying im hesitating because of this new found information; i hesitate doing something like that with ANYONE. as a matter of fact, youre the only person ive ever considered asking myself to spend the night. to further prevent confusion that i think you may have, my hesitance is not about you, it’s about me not wanting to impose as a matter of general manners. BUT, i feel very comfortable asking you, so i do. ALSO BUT, i can never be completely okay with asking something like that; i’ve seen josh johnson work, and i don’t want to be an apartment crashing type of person Nateez (9:27:00 PM): ashlee: i will always tell you if i need you to leave…i have no problem turning to you and saying “i need to do this…get out” Asheez (9:27:57 PM): i know, BUT, regardless of how open YOU are to me, and i obviously accept and appreciate that, i still have to maintain … manners, i guess Nateez (9:28:35 PM): all i’m saying is this: Asheez (9:29:23 PM): well, thats good to know Nateez (9:29:30 PM): good Asheez (9:30:03 PM): um… you can stay at my house if you ever need to :’( Nateez (9:30:11 PM): gross…never Asheez (9:30:14 PM): lol Nateez (9:31:41 PM): i DO want to do it, just not with a taken woman (aka: you)
|
CategoriesBlogroll |
||||||||||||||