facebook youtube pinterest twitter reddit whatsapp instagram

HomePage

  • PHP Pluggable and Modular System – Part 2 (Implementation) [Event Dispatcher]

    In the first series of this guide, we discussed the theoretical aspect of building a pluggable system in PHP, I wrote a bit of code in that guide plus a couple of stuff you should avoid, you can lear

  • How To Access Windows 10 Drive/Folder in VirtualBox

    To access Windows drive or folder in your Guest OS, you first of all, install VirtualBox guest utilities: sudo apt-get install virtualbox-guest-utils You then Add a shared folder by going into: Setti

  • Best Way To Implement a Non-Breaking Friendly URL In PHP or Laravel or Any Language

    I was working on the link structure of my new Laravel app, and out of the blue I said: "What would happen if a user changes the slug of a post?" First Attempt - 301 Redirection The first solution I t

  • PHP Pluggable and Modular System - Part 1 (Abstract View) [Observable and Mediator Pattern]

    If there is one thing that is brutally confusing to me ever since I started coding, it would be a way to not only implement a Modular system but a way to make it extensible (adding and removing plugi

  • HTML (plain-text) Email Template For Mautic

    HTML (plain-text) Email Template For Mautic

    Mautic doesn't support sending plain-text email yet, but you can still mimic plain-text kinda email, here is an example: I'll show you two ways to use this.... Method 1: Code Mode Go-to mautic code

  • Object Oriented Programming Intro in PHP

    Object Oriented Programming Intro in PHP

    We recently went through the understanding of functions in PHP, well, that is one way of writing a PHP code, and the other way is using objects. In object-oriented programming, objects include data a

  • PDO: Querying Data From Database - PHP MariaDB/MySQL

    PDO: Querying Data From Database - PHP MariaDB/MySQL

    In this guide, you'll learn how to query data from a MariaDB database using PHP PDO, plus an understanding of how the nuances work. So, here are the details... I have a table cmusicin marn_melodicd

  • Static Methods and Properties In PHP

    Static Methods and Properties In PHP

    We've recently dived deep into the basics of Object-Programming language in PHP, in this guide, we would look into static methods and properties. In the OOP guide, I said class describes the concept

  • Custom Camera App | Part 2: Taking Pictures

    Second part of the Custom Camera App series. Custom Camera App – Part 1: Custom Overlay Custom Camera App – Part 2: Taking Pictures Custom Camera App – Part 3: Assets Library In the first par

  • Calling Matlab from Java

    If you are developing a Java program that needs to handle large amounts of data and perform difficult calculations with it or you need to manipulate matrices without having to code these functions in

  • Blocks and Multithreading in iOS

    When developing for iOS, there are several ways to deal with multithreading. You can create your own threads and do whatever you please, but there are various alternatives that will make your life mu

  • Arrays in PHP

    Arrays in PHP

    An array is an orderly arrangement of a collection of multiple values, that is the basic explanation I can up with. You can think of them as a collection of values stored in a specific variable, and

  • Abstract Classes, Interfaces and Traits In PHP

    Abstract Classes, Interfaces and Traits In PHP

    So far, we've covered OOP basics in PHP, and Static Methods, & Properties, in this guide, we would cover abstract classes in PHP. What is an abstract class? Just like I explained in the OOP basi

  • Direct Access to the Camera

    Using AVFoundation framework you can access the raw data of the camera, which allows you to process images in real time. Direct access to the camera is used for Augmented Reality, or to modify an ima

  • Playing Audio in your iOS App

    Due to the fact that the iPhone and iTouch are all about playing music, one would think that playing audio in iOS would be an easy task. Well, I hate to break it to you, but playing sound effects in

  • Custom Camera App | Part 1: Custom Overlay

    First part of the Custom Camera App series. Custom Camera App – Part 1: Custom Overlay Custom Camera App – Part 2: Taking Pictures Custom Camera App – Part 3: Assets Library In this series, I

  • Saving Data with NSUserDefaults

    In today’s tutorial, I will show you how to save data that will persist through application sessions using NSUserDefaults. This class is a Foundation class that is very useful to save small amounts

  • Displaying Images in iOS

    Creating images from code is really easy, and although you can draw them in any UIView, they are almost always displayed using UIImageView, a UIView subclass. In this tutorial, I will show you how to

  • Particle Emitter With UIKit

    One of the many things that iOS 5 brought with it, is the possibility of creating cool particle systems using only UIKit. Particle systems are used for explosions, fire effects, smoke… They are mos

  • Quick Tip: Take Screenshots Programmatically

    In today’s quick tip I will show you how to take screenshots from your iOS app programmatically. There are several ways to do it, so I will show you the code Apple provided with the last SDK update