homepage Welcome to WebmasterWorld Guest from 54.196.62.132
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Is it possible to learn PHP while pregnant?
mkdigi




msg:3860330
 12:31 pm on Mar 1, 2009 (gmt 0)

Hi,

I don't know if any of you have ever known a pregnant person or have been pregnant, but my brain power is currently diminished and I have until July to give birth.

Thing is, I need/want to learn php and eventually also use jquery to better my business. Currently, I know HTML and CSS and have been using them strictly for a few years now. I have used applications on websites that I have built like "Gallery 2" and "webCalendar" and have been able to at least edit parts of the php scripting, so I kind of know a small part of how it's put together.

I have been trying to read my php book: Visual Quickstart Guide: PHP for the World Wide Web. I used the visual quickstart guide to learn HTML and CSS, so I know it is an excellent series to learn from.

I know I really need to just spend some time on it, but every time I open the book my mind blanks. I'm wondering if anyone has any tips for me, mainly if I easily learned HTML and CSS is it the same "level" of learning as it will be for PHP.

To give you an example of my diminished brain power: I woke up yesterday wondering why I wasn't getting any emails and after about 3 hours I figured out it was Saturday; I thought March 12 was this week; I frequently forget commonly used words such as...can't remember right now, it started with a "irre" like irresponsible.

So that's my current state. This might sound like a joke, but I'm not kidding!

Thanks in advance...

 

plus




msg:3860338
 1:00 pm on Mar 1, 2009 (gmt 0)

it is not hard. you need to do it step by step. just.

blang




msg:3860415
 3:12 pm on Mar 1, 2009 (gmt 0)

Yes, that's the baby. My wife went through the same phase with our daughter; expect probably another year of this.

As far as learning PHP vs. HTML/CSS, it's not that much more difficult, it's just different. From my perspective, I'm relatively adept at C, Java, PHP & JavaScript but still can't get my mind wrapped around CSS most days. For me, the box model is voodoo. Nevermind making cross-browser compatible rules (when are these idiots going to get on the same page, anyway?).

I would suggest forgetting about objects & classes and just focus on procedural (i.e. function based, "step by step" to borrow a phrase) code for the time being. That's a whole other ball of wax. Then again, it might be easier for you to learn OOP [en.wikipedia.org] if you're good at abstract concepts.

Fortunately there are alot of good resources out there, and it doesn't cost anything to try. If I can make one suggestion with regards to PHP, make sure you read the PHP Language Reference [php.net], and peruse through and eventually rely on the PHP manual [php.net] when you code. If you have a question about how a function call works, go straight to the manual; there are explicit details about each function call and example usage (plus user comments).

In regards to jQuery, I use it, I recommend it, I think it's the best lightweight framework available. There is plenty of information in the API documentation [docs.jquery.com].

In any event, just keep working at it. The best way to learn (at least in my experience) is to write code everyday. Also remember we're here to help answer questions and spot problems you just can't see, so don't be afraid to post when you run into a problem you can't solve on your own.

mkdigi




msg:3860423
 3:29 pm on Mar 1, 2009 (gmt 0)

Thanks for the encouragement, and thanks for the resources. I opened up my book and made my first code in php: phpinfo();

Maybe I'll lose less of my brain if I work on expanding it. I swear when I was learning CSS I could feel the wrinkles forming in my brain when I got the hang of something. It was an interesting feeling!

I also just realized that I posted that really early in the morning (where I am). I also have pregnancy induced insomnia so I wake up at 4:30 every morning. Perhaps I'll use the extra 4 hours before normal people start working to learn all of this stuff.

I did just read about the PHP manual. Reading about it confused me, but perhaps if I take a look at it online then I will understand better.

The jquery site you referenced is exactly what I've been looking for. So thanks again! I'm sure I'll be back in the forums looking for answers.

blang




msg:3860425
 3:34 pm on Mar 1, 2009 (gmt 0)

Good deal. I like the idea of working early in the morning when it's quiet and you have no distractions. I usually start coding at 7AM and then move on to other tasks as people come into the office.

One other thing, make sure any resources, books, tutorials, etc are up to date. You don't want to waste your time reading a book that details PHP v4 and we're currently at v5.x. Don't get me wrong, the basics are the same, but you'll get turned around in a hurry backtracking due to issues with topics such as "magic quotes [php.net]", register_globals [php.net], superglobals [us3.php.net] and the like.

Good luck!

wyweb




msg:3860428
 3:42 pm on Mar 1, 2009 (gmt 0)

I don't know if any of you have ever known a pregnant person or have been pregnant, but my brain power is currently diminished and I have until July to give birth.

OMG! Are you kidding me?

I'm not really a coder but I like your attutude and think you'll go far with it... Keep on keeping on and name that boy "wyweb"

mkdigi




msg:3860481
 5:50 pm on Mar 1, 2009 (gmt 0)

blang: I know what you mean! Every time I look for books in the library about design or web standards I look at the copyright...they are usually pre-2005...outdated in my opinion.
I want to start a project to try to get people to donate updated books to the library!

wyweb: Great idea...how do you pronounce that?

milocold




msg:3860589
 9:41 pm on Mar 1, 2009 (gmt 0)

Wow do I understand "diminished brain power" like no other! I'm not pregnant, but I do enjoy living like Dean Martin. Hic.

At any rate, you know what really helps me...reading these PHP forums. *wipe's brown nose* It's a great way to get introduced to various facets of PHP that you might not run into during your normal day-to-day coding adventures.

- M. Cold

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved