I did start with the "Hello World!" back in sep 2015. Nothing much to learn here.
echo "Hello World!";
Read through the whole tizag.net basic tutorial in 2wks. Then gave 1.5yrs of gap.
Then started downloading youtube tutorials and grabbed snippets (which I understood). I still got them. Basic codes related to Php dealing with "MySql". Such as:
- Create DB
- Create Tbl
- Insert into Tbl
- Delete from Tbl
- Update Row.
- Insert simultaneously into more than one column.
*** Member-Reg-Login site**
*** Searchengine & Web Crawler**
* Friend System (Social Network)
* Follow System (Social Network)
And so, I do have snippets and I do understand them. And so, I don't have any issues with them. They work. I don't get any errors. And so, I don't bother the forums regarding them. I do understand each lines of these snippets or small codes. But, I have not memorized them. Can't write them at the top of my head, without checking the notes first.
I have now moved-on to the member-reg-login site project. While I was dealing with it, I came across code issues as a lot of the youtube tutorials were using deprecated stuffs. Hence, the need to create threads in the forums to get some help to learn what is old stuff and what is new stuff, etc. Anyway, in the middle of all these error issues, I got put-off a little from that project and put it aside for a while and found interest to learn web scraping and so moved-on to learning cURL a little. I thought best take a break from the member-reg-login site project to refresh my mind but why spend days taking break learning nothing and so best I try another subject & project.
I then, launched the web proxy (both php & cURL) project. The aim was to build one that logs into mysql all proxified pages' urls. Many programmers in many forums told me it is not possible to log proxified pages. I, the newbie, amateur upstart, proved every single one of them pros wrong.
Anyway, I then moved onto building my own web proxy and encountered problems and faced some problems when trying to add feature to log the proxified pages' urls. Ok, I managed to add the logging code onto MiniProxy (3rd party proxy) and it logs proxified pages' urls onto my mysql but when I tried building my own web proxy from scratch and add the logging code, I started encountering problem after problem and got puzzled why it works on a 3rd party script but not my own. I know, I am doing something wrong. Anyway, it's a good thing that I faced these problems because the members here made a lot of suggestions such as use array to feed the words that I need replacing as coding would be simpler and shorter, etc. and a whole lot of other stuffs regarding preg_replace and str_replace. I never would have gained work experience on those subjects had I not opened the threads. And, I never would have opened the threads had I not encountered the problems. And, I never would have encountered the problems had I not embarked on these projects. And so, all this ducking & diving and facing near drownings here and there in the pools and ponds and lakes and rivers have been a good experience for me. Making me stronger in coding and mentally to go on and not quit php. Else, I would have quit php half a yr ago when I was going through php.net. All that messy code put me off. It's the love for these projects (I embarked on) is what keeps me going and hanging onto php and delaying approaching the gate towards Python. I know Python is simpler and by now I would have learnt it.
But, I want to finish php first. I've come this far. I've managed to prove some php pros wrong by adding a logger onto proxified pages, I've nearly finished my member-reg-login site. I've nearly finished building my own web broxy from scratch. Ok, I admit. Half finished it. So, why should I quit now or go back to the drawing board ? Yes, I will go back to learning the basics now and then. cpradio suggested codeacademy.com and that is a good exercise site. I like it. Will continue learning from there because they test you on each chapter and all the trial and error makes me remember what I learn while the other sites don't test you and I easily forget what I learn when I move onto a new chapter. Other sites like tutorialspoint.com, tizag.net, etc.
Anyway, so I just updated you all what I am upto. I hope I don't have to repeat all this again as I've repeated it a few times these last few mnths and it is getting boring.
So do remember. My 2 current projects now are to build my own member-reg-login site (and that is 95% finished once I get rid of all these minor errors) and build my own web proxy (that is nearly half finished).
About 12hrs ago, downloaded youtube tutorial on how to build a basic meta engine. Gonna open another project on this very soon. It is a small project, anyway. And so, I don't think I will encounter any problems (unless the tutor's code was full of deprecated stuffs).
I think from the video, I will learn and gain work experience on basic web scraping. How to scrape parts of the page. I can use that experience to build my own web crawler one day. Right now, with cURL and php, I can manage to fetch full webpages (full scrape of the page) but not parts of it such as keywords, meta tags, etc. And so, I reckon this video will teach me what I lack. And then one day, I will build many mini tools related to web scraping and open it to the public to use the tools to grab this or that data from sites.
PS - Again. I repeat: I will not give-up. Won't quit the member-reg-login site and web proxy projects. Will struggle and complete. I am enthusiastic. Wait, watch and see where my enthusiasm leads me. Wait and see what kind of scripts I derive from them. I am someone who can always come-up with improvements to an old idea or come-up with my own unique ideas. Which when heard about, you will wonder: Why did I not think of all this before ?
PPS - Whenever I have a project in mind. I never go around forums asking for codes here and there where I never made any inputs and all the codes came from all the forums. No. I first, download the codes from youtube. Then try understanding them. Testing them. When I don't understand a code or encounter an error in the testing, I then open threads in the forums. I only prowl 2 forums now. This one is my best. Not flattering anyone here. It is the truth. Best in getting responses and best in getting well mannered answers without getting accused or abused. (Let's forget Colshrapnel's recent accusations here about me getting all my codes from talking into members building my scripts).
Here is proof that I don't get all my codes from forum members by "talking them into building my whole scripts" like accused ....
Look at the images. How many youtube php tutorial videos you see downloaded ? Count and see. After all this, do I need to "talk any forum member to build my whole script" for me ?
Yes, I do ask for code samples now and then but that are snippets and not the whole script. Only ask when I've struggled for a wk or 2 on the topic/feature. I only ask when I come to dead-ends in finding code solutions and the hints (solutions) I get from others are way beyond my skills to understand their hints.
PS - I wanted to upload some screen shots of my computer listing all the youtube tutorials I have downloaded but I'm gonna have to upload a lot of imgs and I don't think the mod will like that. In short, I have over a hundred vids.