siteIcon

TNT Labs: PHP Template

Bare Bones PHP App

burgerIcon

About this app

What's cook'n?!

cookie cutter
Cookie Cutter

At TNT Labs, we basically make everything from scratch. This was a deliberate choice: We are attempting to learn the underlying technologies of the web, and while we could use certain frameworks (like Bootstrap) to expedite production, that might prevent us from becoming proficient in the underlying technologies of CSS, HTML, etc.

But, we do not want to reinvent the wheel each time we write a web app either.

This bare-bones app is a template or 'cookie cutter' for future PHP apps. We have stripped it down to the essential elements that all PHP apps would share. All we have to do is copy it and then customize from there.

But, you ask: "It's PHP! We can't see the source code for that on the client side!"

That's right! At some point, we may apply some wizardry and let you see the source code. But until then, you can only dream! (And study PHP for yourself).

If you can't wait to see some HTML source code along with its supportive CSS, check out the Bare Bones app we had for HTML5 in our former installment of TNT (Past Blast).

But remember, you can always view source code by right-mouse-clicking your browser and asking to 'View Source.'

Last update: 11/7/18


A Simple PHP Template

Template's Subhead

Some filler text courtesy of 'Cupcake Ipsum':

Gummies pastry bonbon chocolate bar halvah macaroon chocolate liquorice jelly-o. Topping sweet roll dessert lemon drops cake pie topping cookie toffee. Croissant cake bonbon donut sesame snaps marshmallow lollipop.

So much better than standard 'Lorem Ipsum.' It doesn't trigger the spell checker!

An advantage of writing a template is a chance to normalize and standardize your CSS. We at the TNT Labs are passionate about the CRAP rule of design.

PHP Template: Test Run