Learn from Saki

Knowledge is power

This content is for registered users only. Please login.
Hello! To access your account, please Log in. Not a member? Sign up
  • Videos
  • Blog
  • Examples
  • Services
  • Add-ons
  • About

PHP File Pattern

April 2, 2008 by saki 2 Comments

Code in this post can be obsolete, however, principles and theory may still apply.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
// vim: ts=4:sw=4:fdc=4:nu:nospell
/**
* An Application
*
* @author     Ing. Jozef Sakáloš
* @copyright  (c) 2009, by Ing. Jozef Sakáloš
* @date       15. Sepember 2009
* @version    1.0
* @revision   $Id$
*
* @license application.php is licensed under the terms of the Open Source
* LGPL 3.0 license. Commercial use is permitted to the extent that the
* code/component(s) do NOT become part of another Open Source or Commercially
* licensed development library or toolkit without explicit permission.
*
* License details: http://www.gnu.org/licenses/lgpl.html
*/
 
require("config.php");
 
// code here
 
// eof
?>
  • Author
  • Recent Posts
Follow me:
saki
I'm a well seasoned developer, consultant and educator of web applications based mainly on Sencha libraries, PHP, MySQL and Node.js. Besides (Apple) computers, I love photography and mountain biking.
Follow me:
Latest posts by saki (see all)
  • Ext, Angular, React, and Vue - June 27, 2019
  • The Site Resurgence - February 11, 2018
  • Configuring ViewModel Hierarchy - June 19, 2015

Filed Under: Snippets Tagged With: pattern, php

Comments

  1. Mike van Lammeren says

    December 15, 2008 at 10:55 pm

    You might want to leave off the final closing PHP ?> tag, as recommended by Zend for the Zend Framework. It is not required by PHP, and in certain circumstances, accidental whitespace after the closing tag can cause problems with http headers.

    Log in to Reply
  2. Fausto Astudillo says

    August 20, 2010 at 5:53 pm

    Its recommended you write on the final closing PHP ?> tag, for a “well formed” source.
    The Zend Framework is a particular missuse .

    Log in to Reply

We will be happy to hear back from you Cancel reply

You must be logged in to post a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Categories

  • Addons (2)
  • Architecture (14)
  • Examples (2)
  • ExtJS (26)
  • Howtos (16)
  • Javascript (1)
  • Know-how (32)
  • Linux (1)
  • Mac OS X (2)
  • SASS/CSS (2)
  • Snippets (9)
  • Theory (14)
  • Touch (6)
  • Tutorials (5)
  • What is a … (9)

Tag cloud

abstract class accordion application button class cluster column component config css definition deprecated design education event example extension extjs factory function form grid html initComponent items javascript Know-how knowledge layout Linux listener mysql old panel pattern php plugin render snippet sql sqlite state table touch tree viewpoint

Membership

Become a Member
Affiliate Program

Support

FAQ
Contact

Legal

Terms and Conditions
Licensing
Privacy Policy

Copyright © 2021 · Dynamik-Gen on Genesis Framework · WordPress · Log in