School

Easy to Follow and Easy to Use

We aim to offer tutorials and articles with accompanying code work that are easy to follow and easy to use. There is no code ubfuscation, no bag of tricks, or fine print worries. Rest assured our information and code is shared in good faith.

Computer Programming 101

The first thing we will need is a code editor. A code editor is a plain text editor as apposed to a rtf(rich text format) editor or a document processor such as MS Word. These markup the text. We will be marking-up by hand.

A code editor includes two great features which are syntax highlighting and auto indentation. Computer code is made more human readable. It is easier to spot formatting errors. Syntax highlighting and auto-indentation are indespensible.

There are many code editors. The most popular for a long standing period is VI. VI comes pre-installed on Mac and Android. It is available on all Linux and Unix systems. It is available as a Portable App on Windows. Portable Apps can be installed on a USB stick and launched on different versions of Windows. There are many other code editors. The choice is yours.

back to top

back to top

back to top

back to top

back to top

back to top

back to top

back to top

back to top

back to top

Web UI Programming

Computer Programming is a constant learning process. Just like anything else, the more times you do it the better you get. Learn with me as I exercise my UI programming skills. I am looking to further develop the UI component of my webgl app. It will need many controls. My website too is getting large. I will write a content management system.

In the end, I dropped the CMS for the most part. It was a kind of a joke I noticed. First I scripted the header and footer of a web page. So then I could be sure they were all the same on all pages. Then I scripted the body. Then we had completed writing a SPA(single page app). Since there would only be a single page there was no point to scripting the header and footer.

We did a lot of work if only to run in circles. It wasn't all just running laps. There was a resultant product worth mention. We produced an excellent app programming pattern or framework. The app restructing and large code base handling skills training was well worth all the work.

I did more work past the last entry in this tutorial series. I netted a better SPA. I can go faster if I do not document along the way. Although I dropped it for now it is a fine product or products plural I should say. There were two products to be precise. One was the SPA program design and the other an app programming pattern or framework. I hope to post work showcasing both these fine products in the near future.

This is a detailed and exhaustive training series. If you are prepared to run the laps, you will gain serious web ui and SPA programming skills. You will see the same code written in multiple ways. You will learn different programming patterns. You will memorize the important UI APIs by repetitively programming that same API in those different programming patterns mentioned. There is valuable JavaScript programming skills presented in this series:

back to top

Web Animation

Programming web animation begins with a timed function call. The frame buffer update function will be callled on a time clock. The Web Browser's Web Animation API was limited. It has been updated as part of HTML5 development to offer more speedy fps(frames per second). CSS too has updated from version 2 to 3 to offer animation programming from CSS key codes. Both are presented here.

Programming many objects will require some kind of management. Here is a simple queue to manage a list of animation objects.

Making animation realistic requires varying speed. A little acceleration and deceleration goes a long way.

back to top

back to top

back to top