I went back and forth on question number 7, and finally decided on "database user" instead of web user, but I didn't look at my notes when I took the test. I just got too cocky, and zipped through the questions too fast. The ones I got wrong - I know the right answer, but I blew it.
Kicking myself today. Moving on tomorrow.
Saturday, October 24, 2009
The new test
Spent some time today looking over the test questions on the test I need to submit by Sunday night. There's one (number 7) that gives two possible answers (IMNSHO). The question involves giving a user select permission on a database - select only - and is either a "typical" web user or a "read-only" db user.
If all the user can do is select, then the permission set is read-only by definition...I'll have to see if the grant of permissions requires a login, which shouldn't be required for typical web users. Anonymous searching is more typical on websites (I think). Of course, if you want to DO anything with the data, registration is often required. I'll have to read that question again - even though I do think I should go with my instincts and not over-think the question.
I'm glad the test is this weekend. Although I'll be spending the lion's share of my time creating a "haunted hallway" leading to our front door (which will be replaced by a large black lacquer coffin) for Halloween, and setting up tombstones and scattering skeleton bones, it won't be as busy as the actual day, when I also have to think about cooking for guests and getting the house ready. Luckily, my husband is the host of a large haunted house in Kirkland tomorrow night, so I'll have time to work on PHP/MySQL and get some reading and experimenting done. Maybe I'll even start moving things around on the website (putting the header/footer/navbar in the /include/ folder, etc.) like I've been wanting to do.
If all the user can do is select, then the permission set is read-only by definition...I'll have to see if the grant of permissions requires a login, which shouldn't be required for typical web users. Anonymous searching is more typical on websites (I think). Of course, if you want to DO anything with the data, registration is often required. I'll have to read that question again - even though I do think I should go with my instincts and not over-think the question.
I'm glad the test is this weekend. Although I'll be spending the lion's share of my time creating a "haunted hallway" leading to our front door (which will be replaced by a large black lacquer coffin) for Halloween, and setting up tombstones and scattering skeleton bones, it won't be as busy as the actual day, when I also have to think about cooking for guests and getting the house ready. Luckily, my husband is the host of a large haunted house in Kirkland tomorrow night, so I'll have time to work on PHP/MySQL and get some reading and experimenting done. Maybe I'll even start moving things around on the website (putting the header/footer/navbar in the /include/ folder, etc.) like I've been wanting to do.
Monday, October 19, 2009
Troubleshooting
Finally connected my blackAdder.php to my template.php page. I should probably rename the template back to const.php or something, but I already see that the php admin program will need to be linked to the page, so there'll be more time to reorganize later. When I add the link to that program, maybe I can move my include files into the include folder and clean up the home directory.
I want to take a look at the Google app engine this afternoon because I'm heading out to a seminar at Google in Fremont this evening to hear the scoop from one of their designers and I want to be able to ask good questions.
About 1.5 hrs on the test - testing out the snippets just to be thorough
and about the same amount troubleshooting the addition function.
I need to do more reading, but we're getting to the scary part now - connecting to the db. Always seems that I have trouble with authentication and databases. Maybe having the opportunity to set the password myself it won't be too much of a pain.
I want to take a look at the Google app engine this afternoon because I'm heading out to a seminar at Google in Fremont this evening to hear the scoop from one of their designers and I want to be able to ask good questions.
About 1.5 hrs on the test - testing out the snippets just to be thorough
and about the same amount troubleshooting the addition function.
I need to do more reading, but we're getting to the scary part now - connecting to the db. Always seems that I have trouble with authentication and databases. Maybe having the opportunity to set the password myself it won't be too much of a pain.
Wednesday, October 14, 2009
Moved the nav bar
Since we only had to move the header and footer, I put off adding the complexity of moving the nav bar until today. Having done the header and footer, the nav bar turned out to be pretty easy. I worked in the /dev folder and moved everything up to the main directory when I was sure it worked.
One problem I seem to have is making Google docs understand that my docs are PUBLIC. I am working in the lab now, so the machine doesn't know me, and I ended up with a google login screen when I used the link from my template.php. What a drag! How explicit do I have to be? I ended up sending BN an invite, but there's got to be a better way.
Spent about 40 minutes removing the nav bar from myHeader.php and moving the files around. Also changed my profile so that template.php is my site instead of const.php. Not sure if I was supposed to do that or not, but it seems to make sense going forward.
One problem I seem to have is making Google docs understand that my docs are PUBLIC. I am working in the lab now, so the machine doesn't know me, and I ended up with a google login screen when I used the link from my template.php. What a drag! How explicit do I have to be? I ended up sending BN an invite, but there's got to be a better way.
Spent about 40 minutes removing the nav bar from myHeader.php and moving the files around. Also changed my profile so that template.php is my site instead of const.php. Not sure if I was supposed to do that or not, but it seems to make sense going forward.
Tuesday, October 13, 2009
include files
Spent 5 hours working on making it look "simple" to include header and footer files into a template.php file on Zephir.
I find it very strange that I can have a header file that starts a tag like <body> and even <table> and then leaves it hanging, and then a footer that closes off all these open tags. Strange. But, evidently, it works, so who am I to complain???
time: 5 hrs
files: template.php, myFooter.php, myHeader.php, template.html
files updated using the links in what used to be const.php (now called template.php).
added the footer, header and templates into the file list. Didn't change the project plan because I still have no idea what the plan is going to be...
I find it very strange that I can have a header file that starts a tag like <body> and even <table> and then leaves it hanging, and then a footer that closes off all these open tags. Strange. But, evidently, it works, so who am I to complain???
time: 5 hrs
files: template.php, myFooter.php, myHeader.php, template.html
files updated using the links in what used to be const.php (now called template.php).
added the footer, header and templates into the file list. Didn't change the project plan because I still have no idea what the plan is going to be...
Tuesday, October 6, 2009
Zephir
Put my old php files for Codestress on Zephir. Still have to make the directories match the suggested format, but am feeling better today.
I have some include file work to do because my first PHP teacher said that PHP will fail if include files create an infinite loop such that:
A includes B
B includes C
C includes A
Luckily, includes are in Chapter 4, which is next up for me.
Time spent will be reported when I finish doing the exercises.
Spent 2 hours with Chapter 4, and found out some interesting things.
I didn't know about include_once() - and that might have fixed the problem in the code for my last class. Also, the conditional css changes. I have to experiment more, but I need to get to bed to get to work and school tomorrow.
Okay. This is starting to be fun. :)
I have some include file work to do because my first PHP teacher said that PHP will fail if include files create an infinite loop such that:
A includes B
B includes C
C includes A
Luckily, includes are in Chapter 4, which is next up for me.
Time spent will be reported when I finish doing the exercises.
Spent 2 hours with Chapter 4, and found out some interesting things.
I didn't know about include_once() - and that might have fixed the problem in the code for my last class. Also, the conditional css changes. I have to experiment more, but I need to get to bed to get to work and school tomorrow.
Okay. This is starting to be fun. :)
Monday, October 5, 2009
Already scrambling
Working late, missing class - not the greatest start to the quarter.
Heading to the website now to check homework assignments, and check on the lecture uploads.
Assuming today's isn't there, yet, but I might as well check and see what the second lecture in summer quarter had to say...
More later.
Heading to the website now to check homework assignments, and check on the lecture uploads.
Assuming today's isn't there, yet, but I might as well check and see what the second lecture in summer quarter had to say...
More later.
Sunday, October 4, 2009
First Post for ITC 280
For some reason I am terrified this quarter. I don't seem to be able to get anything done. I've spent hours - at least 3 - reading and re-reading the lessons, but nothing is sticking. I have to start coding, but I feel frozen.
One step at a time. Off to see if I can get my google docs and make them public. I know I can invite people, but I don't see an option to share openly. Not that my project plan has much in it, yet.
Step one, done.
One step at a time. Off to see if I can get my google docs and make them public. I know I can invite people, but I don't see an option to share openly. Not that my project plan has much in it, yet.
Step one, done.
Subscribe to:
Posts (Atom)