473,791 Members | 3,186 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

feedback on some work

Hi Folk

Can you have a look at www.lakebrunner.co.nz/_n/ and tell me what you think?

It is my latest creation. I am not responsible for the design so dont worry
about that (font-sizes, colours, etc... unless you think it is terrible). I
am responsible for the technical side of things, the navigation, etc...

I am really trying to make it top class. If anyone is interested in how I
structured the PHP then let me know.

I basically have the following setup:
/
actual php files
config/
snippeter.php = creates actual html
configer.php = passwords, etc
functions/
sqler.php = all sql functions

All the data is stored in a MySql database so that content can be changed
online...

The actual files just look like this:

<?php

//setup
require_once("_ startuper.php") ;

//get filename
$f = str_replace(".p hp", "", basename(__FILE __));

//create page
go($f);

?>

You can't get much shorter than that!

I love this setup, because it keeps it really simple.

Anyway, I am not trying to show off, I just want to become a proficient PHP
man! (one year after I first started).

TIA
Nicolaas

Feb 5 '06 #1
4 1241
windandwaves wrote:
Hi Folk

Can you have a look at www.lakebrunner.co.nz/_n/ and tell me what you think?

It appears to be broken...

--
Ian Collins.
Feb 5 '06 #2
Ian Collins wrote:
windandwaves wrote:
Hi Folk

Can you have a look at www.lakebrunner.co.nz/_n/ and tell me what
you think?

It appears to be broken...

Sorry, it is back now. Server was down!
Feb 5 '06 #3
windandwaves wrote:
Ian Collins wrote:
windandwave s wrote:
Hi Folk

Can you have a look at www.lakebrunner.co.nz/_n/ and tell me what
you think?


It appears to be broken...


Sorry, it is back now. Server was down!

Looks like you have some improperly encoded CDATA 'Arthur&amp;amp ;#039;s
Pass'

I'm sure it only took half an hour last time I drove there...
--
Ian Collins.
Feb 5 '06 #4
windandwaves wrote:
Hi Folk

Can you have a look at www.lakebrunner.co.nz/_n/ and tell me what you think?
It looks like that there is no use for session, so it's better to
turn it off.

<snip>
The actual files just look like this:

<?php

//setup
require_once("_ startuper.php") ;

//get filename
$f = str_replace(".p hp", "", basename(__FILE __));

//create page
go($f);

?>

You can't get much shorter than that!


Front controller <http://www.onlamp.com/lpt/a/4987>?? The design
architecture is one's pure choice. Front controller designs are good
choices for CMS like Joomla (Mambo), IMHO; but may not be for other
sites. We had similar discussions lot of time here. Here is Chung's
points on the front controller
<http://groups.google.c om/groups?q=php+si ngle+entry+chun g+leong> and I
agree with him.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Feb 5 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
2495
by: Raymond Hettinger | last post by:
I've gotten lots of feedback on the itertools module but have not heard a peep about the new sets module. * Are you overjoyed/outraged by the choice of | and & as set operators (instead of + and *)? * Is the support for sets of sets necessary for your work and, if so, then is the implementation sufficiently powerful?
7
2222
by: Steve | last post by:
This post has two parts. First is my feedback on sets. (Hello? Last summer called, they want their discussion thread back...) Second is some questions about my implementation of a partition function for sets. Part 1. --- >From: Raymond Hettinger (vze4rx4y@verizon.net) >Subject: Py2.3: Feedback on Sets >Newsgroups: comp.lang.python >Date: 2003-08-11 23:02:18 PST
4
1401
by: Dan Perl | last post by:
pyfmf is a project I started a few months ago and that is registered with sourceforge (http://pyfmf.sourceforge.net, http://sourceforge.net/projects/pyfmf). It consists of a framework for file management, with a console based toolkit (zigo) and a graphical platform (zago) based on the framework. Both zigo and zago are still alpha releases, addressed only to python enthusiasts. I just released a new version of zigo and the first release...
1
4185
by: Kenneth McDonald | last post by:
I'm working on the 0.8 release of my 'rex' module, and would appreciate feedback, suggestions, and criticism as I work towards finalizing the API and feature sets. rex is a module intended to make regular expressions easier to create and use (and in my experience as a regular expression user, it makes them MUCH easier to create and use.) I'm still working on formal documentation, and in any case, such documentation isn't necessarily the...
2
2307
by: Brian Basquille | last post by:
Hello all. Air Hockey game is due up in just over a month. And i've about 2 and a half weeks to work on it. So, i need some feedback and advice. http://homepage.eircom.net/~basquilletj/AirHockey.rar Please download it and give it a quick spin. Not completely working yet in terms of:
38
2864
by: George Sexton | last post by:
We're in the process of re-launching our web calendar product. We would like to get your opinions on a couple of things about our site and product. This is a relaunch of an existing product with hundreds of customers. The major effort of the re-launch is to focus more on the hosted calendar market. Toward that end, we've re-designed our web site, and changed our pricing. Essentially, we've dropped the license fee that we were charging...
2
1486
by: shery | last post by:
hi plz help me out i need a php script i have made a link in my website for feedback and i need a good script (php) which will sought out the problem for me ..plus if some one is having a good programme for inserting a online forum in my site.. waiting for a good relpy
4
2228
by: ianbarton | last post by:
Hello all I am trying to setup a feedback form on my webpage using some script provided by my ISP. I really don't know a lot about PHP and it's syntax etc. The feedback form only has 4 fields. These are UserName, UserEmail, UserCountry & Comments. It works well with all of those fields appearing in the body of an email that is sent to me. What I would now like is for the UserEmail field to appear in the "From:" field in the
17
1904
by: Ron Adam | last post by:
I put together the following module today and would like some feedback on any obvious problems. Or even opinions of weather or not it is a good approach. While collating is not a difficult thing to do for experienced programmers, I have seen quite a lot of poorly sorted lists in commercial applications, so it seems it would be good to have an easy to use ready made API for collating. I tried to make this both easy to use and flexible. ...
14
1586
by: Egbert Teeselink | last post by:
Hi all, The last few months I've worked on making a template engine because the ones out there didn't serve my needs. I guess everybody knows Smarty and has an opinion on it; I like many things about it, but dislike many others. The thing I made is called 'Farty' (sorry, I suck at names) and is in many ways a simpler version of Smarty. It keeps the good (compiling to php files, clean syntax) and fixes the bad (having to learn a new...
0
9669
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10207
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9997
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9030
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4110
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2916
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.