Posts

Best way to learn PHP?

I was thinking about this earlier, it's not as easy as some of the 'trendy" languages to learn due to older out of date content. Even freeCodeCamp.org doesn't have it in the main curriculum, but they do have videos and some blog posts. If I had to point someone to a spot on the web to start form scratch Id say Codecademy.com has a nice FREE course on PHP. Then hit up YouTube for more free videos, try watching more recent ones PHP 7 - 8 related. Older ones will have out of date security syntax uses, I ...click more button...



Some new bugs found on this site.

Some post bugs, so you might click on a more link and it sends you to wrong post, this is entirely situational most won't have any issue. I will fix on next update, happens when I embed video or code posts, basically the new post markup is not completed. Still display issues due to the CSS, new test updates coming for those too using new grid CSS. Site will still look the same mostly. I will try Tailwind CSS soon after playing with grid layout.



The first Python class I am taking is good, but..

all video based, so I cheated and looked at a few of the last lessons and they too were all video based. These are just instructional, not code along which I think is not optimal. Now I have opened PyCharm a Python IDE and made a few practice code sessions after like the 'endless chat' one. Right now I am learning about Dictionaries and Tuples or however you spell them, basically data structures, these need more practice imo. This is another reason I am halting my JavaScript lessons because its all data structure based and I do not want to ...click more button...



Yesterday I did some more CSS Grid lessons then..

I was doing some reading on dev.to and some people were again talking about 'Tailwind CSS', this is another CSS framework. BOOTSTRAP by Twitter is another CSS framework I have used a little bit a couple of times even here recently before removing it to work on my CSS more, its nice to throw up a site appearance real fast, but lacks the control of pure CSS. What makes Tailwind different is you are basically writing your page layout with many classes and no CSS, unlike BS you have much greater overall control color/size/properties etc.. So when entering the ...click more button...



My first Python Script, Endless Chat!

Created this after taking my daily lessons, it was a freestyle code session. Check out this link Endless Chat

Click the green text Run button below the code and start chatting with it. :)



Arrays are so important in every coding language...

When I started PHP I slowed down during the array section because I had a feeling these were special (idk why either), there are just so many ways to use and manipulate the data inside. Arrays are important because they store multiple items and are memory efficient myArray['what is this,'what are those','what is that'] then echo myArray[1] shows 'what are those', a sample indexed array with multiple strings of text. JavaScript has probably the most expanded way to use arrays, it can get a bit tricky. I am doing arrays aka lists now in Python, as I was ...click more button...



Coding lessons after one year.

When I started coding lessons usually I'd do about 10-15 minutes of watching a video or reading per day then write some code, some want you to code with them so multiply the lesson by 2-3x length because you pause video often. Now I can go much longer usually average 1-2 hours per day, yesterday I did JS then Python for 3-4 hours, now during that time I didn't keep learning new things, I basically practiced whatever the lessons were. Usually on each language I'll try 2-3 new concepts each day, sometimes I'll even do the previous days lessons again ...click more button...



I wonder how many times the CSS will be remade here? Then a security rant.

Definitely have many issues with my CSS here, working on that. It's a goal to make css part of some built in functions, meaning it can be dynamic, but first I have to get much better at standard layouts. For people who do not understand this site uses PHP, you cannot see this code because once you view the site the PHP parser creates html out of the php code. So it's possible to then create php that specifically modifies the html that's created depending on many factors. This is probably why I love php so much, it's dynamic. So ...click more button...



On March 8 2021 I finished a lesson on PHP MVC with PDO.

It was to create a framework and then an app to run off of it. The completed project was a more basic version of this site, in the past few weeks I’ve been adding lots of stuff and changing the system. I can now say for sure that I no longer need to use WordPress for my own blogging sites. I will still use it for quick setups, this system still needs to grow and lacks many features that even I like to use. That's the point of me blogging here all the time, is to continue using my ...click more button...



Added post excerpt function, seems to work perfect so far.

This is a new setting and if one isn't set or is not a proper numeral a default is used. Update, I have added a little message to the end of the excerpt if there is actually more to the post. This post should not being showing the message cause it hasn't reached my word setting. I am pretty excited to be adding a admin page to enable/disable a few of these new custom settings, right now they have to be edited using a config file section. Not a big deal but requires the use ftp.



Interesting w3Schools section on AI, check the link.

Very interesting section on AI with some facts. Click more for the link



Current state of my coding adventures.

PHP: This has been a language I have known about and used for almost 20 years, but I only just recently learned to code with it fully, I have completed 3 full courses on it and 10+ other supplementary courses. I am still learning more about it day by day and plan to use it continually for web projects even though it's not the hottest thing in coding trend wise. While learning JS and Python as a side effect I have gotten better with PHP.

JavaScript: At first I finished a couple full courses, mainly basic web functionality and lots ...click more button...



Site updated to 1.0.2

Mostly CSS updates to forms login/register, add/edit posts, bigger post body entry form. New basic button design. These all need better updates, my goal was to improve the system. When I add posts with no CSS for the entry forms they are super tiny, so much that I couldn't read long title without scrolling. Added post title link, access control to welcome aka home page changed.



Some of my next updates will continue to improve this with variables so users can easily change the appearance if its too dark. Next is to improve the functionality and add an ...click more button...