Solving problems is a programmer’s bread and butter, and everyone has their own method, I personally found 5 steps that most likely than not will help you, not only to solve problems but to do it faster and more efficiently. 1. Read the problem several times until you can explain it to someone else This is […]
Installing phpcs on a Mac ft. VSCode & WordPress, The Really Simple Guide
1. Install Composer There are different ways to install composer, I find it easier to simply use brew. (if you don’t have brew installed, you can follow the docs here). Once brew is installed you can just run: brew install composer Now check if is installed by running: composer –version You should see something like this: Composer version 1.10.6 2020-05-06 10:28:10 Done!. […]
How To Set Up Your WordPress Development Environment with a Large Database ft. MAMP & Mac, The Really Simple Guide
For the last two years, the majority of my dev work has been focused on React, but, since I am the more experienced engineer working with wordpress on my team and the one that doesn’t find it daunting (I’m looking at you php), when the occasion presents it self, I normally volunteer to get this […]
Next.js ▲ + Typescript + Storybook The Really Simple Guide 2019
1. Create a Basic Project mkdir my-app cd my-app yarn init -y yarn add react react-dom next mkdir pages Then, open the package.json file in the root directory and replace scripts with the following: “scripts”: { “dev”: “next”, “build”: “next build”, “start”: “next start” } We’ll also need a page to render, let’s create pages/index.tsx : const Home […]
Next.js + Styled Components The Really Simple Guide ▲ + 💅
I recently started using Next.js, and quite honestly I have to say, is an awesome tool, you get a lot out of the box, and while there are some things I don’t necessary agree with, overall it makes really simple to create static and server‑rendered applications. Next comes bundled with styled-jsx, which is a full, […]
WordPress Development with Docker in 5 Steps
What is Docker? Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud. docker.com I have been developing wordpress sites for a while, and I’ve used several different development setups, from installing apache on my mac, to using MAMP or using Desktop Server, […]
Building a React.js App from Scratch in 10 steps
As usual, building an app from scratch tends to be scary and frustrating, this is a simple and quick tutorial to get the ball rolling with your React app. 1. Install Global Packages (babel & babel-cli) Babel is essentially an ECMAScript 6 to ECMAScript 5 compiler. It allows you to use ES6 features in your projects and then […]
Up and Running with MySQL
What is MySQL? MySQL, is the most popular Open Source SQL database management system, is developed, distributed, and supported by Oracle Corporation. – MySQL Reference Manual Main features: – Open Source, Free – Easy to use – Good introduction to many database concepts – Can define and traverse relationships between tables What is a database? A […]
PHP Quick Guide: The Fundamentals
What is PHP? PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. – php.net PHP is mainly focused on server-side scripting, so you can do anything any other CGI program can do, such as collect form […]
Installing Apache, PHP, and MySQL on Mac OS X
Apache and PHP come packaged with OS X. To create a local web server, all you need to do is configure Apache and install MySQL. 1. Apache Enable Apache on Mac OS X To check what version of apache you have currently installed on your mac just open you terminal and type httpd -v Verify […]
10 Easy Steps to Connect Rails with AngularJS
Probably one of many advantages of working with Rails, is the fact that is an end to end framework, meaning, you can get pretty much everything done (back-end and front-end) with rails alone, but is not necessarily the only way to do it, rails is a powerful framework and it can be utilized for backend purposes only, […]