KatPadi's Point

Category: Code

WP and Bearer Token

So here’s some quick stuff regarding a simple function in WP. WP’s wp_remote_request retrieves raw response from the HTTP request. Goal: To make an HTTP request to a URL and get back the response using Bearer token. I am writing it down because I had a hard time finding how to do it. All the…

My FB Like Button Issue

So I’ve been dealing with Facebook’s like button error for a while. FB offers an easy way of putting a Like button in your WordPress theme by using a configurator which will give you codes once you input some needed info. I got it from here https://developers.facebook.com/docs/reference/plugins/like/ and I thought I just messed up some…

Magento Intro

Reading Magento introduction articles. As you study the system more everything in this article will start to make sense, and you’ll soon be the envy of your colleagues stuck working with more primitive PHP systems. Just posted the above quote for motivation. The quote is from this.

To WordPress Or Not To WordPress

Here’s my R&D findings with my 3-day experience with WordPress. (And by 3 days I probably mean ~4 hours per day 😛 ) Basicall, WP is more user-friendly (e.g. the admin interface which is much more intuitive). It revolves around posts, pages, comments, links, categories and tags while Drupal has its single basic structure which is…

Installing PHPUnit

WHAT’S IN MY MACHINE CentOS Linux PHP 5.4.4 Yii 1.1.12 HOW TO MAKE PHPUNIT WORK 1. You have to have PEAR installed and the version must be 1.9.2 or higher: pear upgrade pear 2. Register PHPUnit with the local PEAR environment (pear.phpunit.de) pear channel-discover pear.phpunit.de 3. Install the PHPUnit and its dependencies pear install –alldeps phpunit/PHPUnit…

Happy 256th!

It’s the 256th day of the year and I spent all day coding. I mean, not really. No one does that! Anyway, I spent this day getting rid of the hang of jquery and jquery-ui, and then integrating them into my Drupal test site. OMG. It is very daunting especially when the codes are written in a…

Switching From SVN to Git

So my boss asked us to change our version control system from SVN to Git. The way I understand it, the biggest difference between the two lies in the way they store the data. In SVN, only the central repository stores the complete history and data while in Git all clients have a copy of their…

Aside

So my first project for this year involves an opensource LMS. Basically it’s just a web tool that manages a learning environment. We’re just in the early stages of the development so I won’t be able to share much about it. During the initial r&d phase, we needed to prove that the system can support the features presented to us. So we worked on a prototype.

I installed the package in both Windows and Linux (CentOS) and determined the capabilities of the system. I was also able to create custom modules, set the needed configurations and security settings, tailor the system according to the rules presented and more. After some studying and tweaking…

Voila!

We will be kicking off our actual development in a few weeks.

I’m geeeeeeeeeeeeekcited!

Even though everything is new to me, I’m really super excited. As in! The language is still the same but the rest of the frameworks and technologies that I will be using this year will be more challenging. Not that my tasks before were not challenging enough…there’s just some significant learning curve that I have to deal with. If you know what I mean.

Anyway, I did realize one thing while I am on this shit: I’m a sucker for new things.

Like for real, for real. I mean, I love new things. I love learning and discovering new stuff. They make me happy… like a fat kid loves cake.

Yeah. Sorry for the 50 Cent reference. It sucks. I suck at writing. I don’t even know why I am blogging. HAHAHAHAHA!