pub-6887543428250003

WPMagic90

Tutorialzine

1 • Tutorial: Making a Shoutbox With PHP and jQuery

"In this tutorial, we are going to build a shout box with PHP and jQuery, which allows visitors of your website to leave short comments to one another. Shouts will be stored on the server as files, no database like MySQL will be required. We are going to use two PHP libraries to make things easier – Flywheel for storing the shouts as json files and RelativeTime for creating human readable relative time stamps. We will be using Composer to install these libraries.

On the client side, we are using plain jQuery code, and the Emoji One library, which is a free project and library for adding pretty emojis to web apps."


Reinout Van Rees

2 • Actually Doing Work – Proof by Blogging

"I’m a programmer. Which means it is not always clear when I’m working. What I mean is that, if I’m sitting behind my screen, I might be reading an article about postgres performance improvements, but I might also be reading the news. And clicking on my ipad might mean I’m keeping my python knowledge up to date by reading weblogs, but I might also be reading some comics. Typing furiously on my keyboard might indicate great productivity, but it also might indicate a long personal email.

The other way around, sitting nicely in the living room at home, clicking away on the laptop, might mean I’m relaxing by writing an update on my model railway work on a forum, but it might also mean I’m finishing off a work project in my own time.

“Doing research” is a potential problem for me. I’ve spend a ton of time reading about Ansible and on how to use it. But it was only when I actually started doing something with it that I started to wrap my head around it. So… just reading and thinking is dangerous to my productivity."


ManiacDev

3 • New Emacs Setup

"I edit all my code with emacs. Since 1996 or so. And all blog entries. And all…

So my emacs settings are “quite important” to me. When I installed the new laptop I’m typing this on, my settings stopped working: I just deleted my ~/.emacs.d/ directory because I wanted to upgrade my setup.

Since a couple of years I used the emacs starter kit version 2. The link goes to my slightly modified copy of the original version 2 starter kit.

The setup change I wanted to make was to update to the version 3 of the emacs starter kit. That link goes to the real starter kit, which in version 3 is… just a text document!

Which is a good thing. You don’t need to clone a git repo just to get a bunch of settings. You use emacs’ package tool to download the better-defaults package, which contains most/all of the settings changes that made the original emacs starter git such a joy to use."


4 • Open Source iOS Component Providing A Button With Built In Activity Indicator With Neat Animations

"I’ve mentioned a number of custom activity indicator components, most recently a set of customizable loading indicators with different styles.

Here’s an open source component that neatly combines a UIButton with a UIActivityIndicator called JHActivityButton from Justin Howlett.

JHActivityButton automatically displays an activity indicator on button press with neat transitions between the regular button, and the button with the UIActivityIndicator. You can easily customize the position of the activity indicator, and how the button expands – such as horizontally or vertically when the button is pressed."


5 • Open Source iOS Library Providing an Iconic Font Using Google Material Design Icons

"I’ve mentioned a few open source projects inspired by material design, most recently a component for creating Google material design inspired activity indiactors, and a library containing Google material design inspired buttons table view cells, text views, and more.

Here’s an open source library allowing you to easily use the 1600+ open source Google material design icons as a font within iOS from Yuji Hato.

With the project you can easily change the size and color of the icons. You can also use the icon fonts from storyboards, or code."