473,387 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

what is your way for doing stuff with PHP?

hey all,
I'm wondering what tools and techniques people use to do stuff with
PHP.
yes yes, I know it depends. but in general, let's say you have a BIG
project to complete, how would you do it?
there are programmers that all they use is direct PHP, there are some
people that use template engine [ie Smarty] and some database
abstraction [ie- ADODB ] , there are people that use some MVC
framework or something else.

so, what are you guys using most of the time?

Jul 17 '07 #1
6 1381
Michael wrote:
hey all,
I'm wondering what tools and techniques people use to do stuff with
PHP.
yes yes, I know it depends. but in general, let's say you have a BIG
project to complete, how would you do it?
there are programmers that all they use is direct PHP, there are some
people that use template engine [ie Smarty] and some database
abstraction [ie- ADODB ] , there are people that use some MVC
framework or something else.

so, what are you guys using most of the time?
I just do programming intermittantly: updates to a couple web sites. I
use pspad as an editor which has formatting & search/replace in multiple
files, helps with indenting, variable tracking, bracket matching, etc.

I learned in a community college & had to start with a Visual Basic
prerequisite. VB has a GUI form interface with property dialogue boxes &
some plain code mixed in too. I'm not aware of any interface for php
like that.

--
Paul Furman Photography
http://www.edgehill.net/1
Bay Natives Nursery
http://www.baynatives.com
Jul 17 '07 #2
Tom wrote:
>
I usually check if there was already an existing program I could use, instead of
recreating the wheel. As an example, I had worked on a site that want to setup a
message board. Rather than make one from scratch, which would have been a
nightmare, I got a few recommendations for PHPBB and that was a very well
developed and maintained program. If something like that didn't exist, then I
would have had to start with nothing.
That's more of a way to *avoid* doing stuff with PHP.
Jul 17 '07 #3
Michael schreef:
hey all,
I'm wondering what tools and techniques people use to do stuff with
PHP.
yes yes, I know it depends. but in general, let's say you have a BIG
project to complete, how would you do it?
there are programmers that all they use is direct PHP, there are some
people that use template engine [ie Smarty] and some database
abstraction [ie- ADODB ] , there are people that use some MVC
framework or something else.

so, what are you guys using most of the time?
For web apps with input forms, searches, lists and dialogs i use
phpPeanuts. For websites and their content management i have a CMS
written on top of it. The websites themselves are pritty much custom
pages and components following the composition by include and callback
pattern. I edit with UltraEdit, but most searching i do with the
hypercode browsers, testing with pnt/unit, debugging with the callbacks
printed by the phpPeanuts error handler*.

Greetings,

Henk Verhoeven,
www.phpPeanuts.org.

* PhpPeanuts is a an MVC, ORM, QBE, CRUD, staffolding & MDD framework.
The CMS and the hypercode browsers are not available for download, but
the hypercode browsers can be used on line on the phpPeanuts code and
its examples. pnt/unit is no longer included in phpPeanuts but can be
grabbed from an older version (not too old! - to be safe u better not
download it from a 3rd party site).
Jul 17 '07 #4
direct PHP. unless on special request.

Jul 18 '07 #5
On Jul 17, 10:15 am, Michael <xmxmich...@gmail.comwrote:
hey all,
I'm wondering what tools and techniques people use to do stuff with
PHP.
yes yes, I know it depends. but in general, let's say you have a BIG
project to complete, how would you do it?
there are programmers that all they use is direct PHP, there are some
people that use template engine [ie Smarty] and some database
abstraction [ie- ADODB ] , there are people that use some MVC
framework or something else.

so, what are you guys using most of the time?
In my course of programming, what I do is with every new problem is
run into is write something to address that issue using a sound
Programming Pattern and add it to a library of code I amass. It's good
to reinvent for pedagogical purposes so I suggest you atleast try to
write your own implementation of everything you run into first, then
size it up to anything that might be available.

Personally for any large scale, or sites that are meant to scale well,
I use a custom designed Framework in conjunction with Smarty for
templatization and use PEAR for DB abstraction.

What really helps understand the possible ways to develop a solution
is to also understand programming patterns, since, as the name
implies, their are certain patterns of solutions that are time tested
and are best suited for certain kinds of problems that arise....

The MVC (Model View Controller) Pattern is a good place to start with
a basic PHP frame work.

Hope this helps.

Jul 19 '07 #6

"Manny" <th*******@gmail.comwrote in message
news:11**********************@e16g2000pri.googlegr oups.com...
On Jul 17, 10:15 am, Michael <xmxmich...@gmail.comwrote:
>hey all,
I'm wondering what tools and techniques people use to do stuff with
PHP.
Write it in pseudo code (point form English, basically). Then I break each
point into smaller steps. I repeat this until I have something that is very
close to real code.
Jul 19 '07 #7

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

Similar topics

52
by: Tony Marston | last post by:
Several months ago I started a thread with the title "What is/is not considered to be good OO programming" which started a long and interesting discussion. I have condensed the arguments into a...
1
by: C-man | last post by:
Basically I want to create a battleship game that can be played by having two clients connect to it. I was wonder what the best networking principal would be. Basically I suppose I would have to...
92
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
46
by: Keith K | last post by:
Having developed with VB since 1992, I am now VERY interested in C#. I've written several applications with C# and I do enjoy the language. What C# Needs: There are a few things that I do...
43
by: Mountain Bikn' Guy | last post by:
I have a situation where an app writes data of various types (primitives and objects) into a single dimensional array of objects. (This array eventually becomes a row in a data table, but that's...
15
by: Edwin Knoppert | last post by:
I have searched but info is limitted. In my test app i used a non persistant cookie for forms authentication. slidingExpiration is set to true On run and close and rerun the login remains ok....
9
by: Brian Hampson | last post by:
I am trying to determine all the groups which the current user has permissions to add a member. Here's my code: foreach (System.DirectoryServices.SearchResult ADSearchres in...
9
by: Gummy | last post by:
Hello, I created a user control that has a ListBox and a RadioButtonList (and other stuff). The idea is that I put the user control on the ASPX page multiple times and each user control will...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.