473,624 Members | 2,346 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

what's the best way to develop PHP apps ?

I'm new to PHP, I already learned the basics of the language and built
some little app's for practice.
I have a critical dilemma, soon enough, I probably start to develop
real-world applications, fully working web-sites for paying
costumers.
I have 2 options for doing this: writing everything with plain PHP, or
using some PHP framework.
I don't want to choose something and the realize that the other is
batter.
I want to get used for one of this 2 programming techniques and stick
with it with no regrets in the future.

please try to help me here, I'm searching the web for 3 days but can't
find a decent answer, many programmers started with plain PHP then
wanted to try some framework but realized that changing all the apps
they have been building would be a pain -so they stick with the
plain php and maybe some template engine [ie- Smarty]. thats not my
situation because I'm new to the language, I really want to do the
best move at the beginning.

Have a good day ;-)

Jul 16 '07 #1
11 3279
Rik
On Mon, 16 Jul 2007 21:03:37 +0200, Michael <xm********@gma il.comwrote:
I'm new to PHP, I already learned the basics of the language and built
some little app's for practice.
I have a critical dilemma, soon enough, I probably start to develop
real-world applications, fully working web-sites for paying
costumers.
I have 2 options for doing this: writing everything with plain PHP, or
using some PHP framework.
I don't want to choose something and the realize that the other is
batter.
I want to get used for one of this 2 programming techniques and stick
with it with no regrets in the future.

please try to help me here, I'm searching the web for 3 days but can't
find a decent answer, many programmers started with plain PHP then
wanted to try some framework but realized that changing all the apps
they have been building would be a pain -so they stick with the
plain php and maybe some template engine [ie- Smarty]. thats not my
situation because I'm new to the language, I really want to do the
best move at the beginning.

There's no single answer, all depends on what it is exactly that you're
making. If you're a starter, changes are your projects aren't going to be
that big and complicated in the beginning. In those cases, using a
framework is usually overkill, and the project is better served with
'plain' PHP coding. Bigger projects later on might well benefit from a
framework, certainly if there's more then one coder involved, but which is
entirely dependant on the project itself.
--
Rik Wasmus
Jul 16 '07 #2
On Jul 16, 11:30 am, Rik <luiheidsgoe... @hotmail.comwro te:
On Mon, 16 Jul 2007 21:03:37 +0200, Michael <xmxmich...@gma il.comwrote:
I'm new to PHP, I already learned the basics of the language and built
some little app's for practice.
I have a critical dilemma, soon enough, I probably start to develop
real-world applications, fully working web-sites for paying
costumers.
I have 2 options for doing this: writing everything with plain PHP, or
using some PHP framework.
I don't want to choose something and the realize that the other is
batter.
I want to get used for one of this 2 programming techniques and stick
with it with no regrets in the future.
please try to help me here, I'm searching the web for 3 days but can't
find a decent answer, many programmers started with plain PHP then
wanted to try some framework but realized that changing all the apps
they have been building would be a pain -so they stick with the
plain php and maybe some template engine [ie- Smarty]. thats not my
situation because I'm new to the language, I really want to do the
best move at the beginning.

There's no single answer, all depends on what it is exactly that you're
making. If you're a starter, changes are your projects aren't going to be
that big and complicated in the beginning. In those cases, using a
framework is usually overkill, and the project is better served with
'plain' PHP coding. Bigger projects later on might well benefit from a
framework, certainly if there's more then one coder involved, but which is
entirely dependant on the project itself.

--
Rik Wasmus- Hide quoted text -

- Show quoted text -
What is the difference between framework development and plain?
Very informative response thanks!

Matt

Jul 16 '07 #3
maybe someone can answer my simple questions..?
you have experienc, please share your thoughts.
I can't believe you have nothing to say about this issue.

Jul 17 '07 #4
Michael wrote:
maybe someone can answer my simple questions..?
you have experienc, please share your thoughts.
I can't believe you have nothing to say about this issue.
Rik's response is right on.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jul 17 '07 #5
On Jul 17, 3:46 am, Michael <xmxmich...@gma il.comwrote:
maybe someone can answer my simple questions..?
you have experienc, please share your thoughts.
I can't believe you have nothing to say about this issue.
Frameworks are like applications - some are a perfect fit and some may
not quite fit. Depending on what you are trying to accomplish with
your code is probably the best meter for determining if a framework is
for you. Look at your challenges in your planned project(s) are there
things that are not easily overcome by already written frameworks?

Most folk who go their own route end up with a framework of their own
design partly because some of us like re-inventing the wheel and the
other because there is just some concept of feature that has yet to be
made into a framework and would be hard to get in one already in
progress.

My suggestion is to first see if there are things that you think
frameworks can't help you with and ask or search what is available to
see if there are. Next is to install and try one or two that look
promising. We can review frameworks all day but the proof is in how
they work for you, which may not match our preferences or what we
think is useless may be perfect for you.

So to sum it up, stop reading about it all and start building your own
experience. :-)

Jul 17 '07 #6
Rik's response is right on.
I didn't ask for the definition of the term framework.
I just ask for a good advice from juys that actually have been working
professionally with PHP, I just want to know what they are thinking
about PHP frameworks
as a new programmer, should I or shouldn't I use some PHP framework?
if the answer is yes - maybe you can give some recommendetions
if the answer is no - please give more details why not and try to
explain what's the best way to stuff with PHP.
thats all I'm asking. good advice from experienced guys.
Jul 17 '07 #7
On Jul 16, 9:03 pm, Michael <xmxmich...@gma il.comwrote:
I'm new to PHP, I already learned the basics of the language and built
some little app's for practice.
I have a critical dilemma, soon enough, I probably start to develop
real-world applications, fully working web-sites for paying
costumers.
I have 2 options for doing this: writing everything with plain PHP, or
using some PHP framework.
I don't want to choose something and the realize that the other is
batter.
I want to get used for one of this 2 programming techniques and stick
with it with no regrets in the future.

please try to help me here, I'm searching the web for 3 days but can't
find a decent answer, many programmers started with plain PHP then
wanted to try some framework but realized that changing all the apps
they have been building would be a pain -so they stick with the
plain php and maybe some template engine [ie- Smarty]. thats not my
situation because I'm new to the language, I really want to do the
best move at the beginning.

Have a good day ;-)
Using a framework for PHP development is like imposing a democratic
framework on Iraq: it's a slam dunk every time.

Jul 17 '07 #8
Chung Leong <ch***********@ hotmail.comwrot e:
>
Using a framework for PHP development is like imposing a democratic
framework on Iraq: it's a slam dunk every time.
I'm sure this was meant to be clever, but it doesn't pay to be too clever.
I can't tell whether you are trying to say that it is a good idea ("slam
dunk") or a bad idea (analogy to Iraq war) to use a framework for PHP.
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Jul 18 '07 #9
Michael,

With the advent of OOP there are certain models of interaction that
real-world object's employ in their day to day relationships that can
be used in the world of Programming. This is termed "Design Patterns"
in the world of programming and cursory search on Google will render
with enough information to get you started. Just to demonstrate, there
is one particular "pattern" that is defined as the MVC (Model, View,
Controller) pattern.

Within this pattern there are three necessary components to create a
reusable framework. The Model is a series of objects that are used to
model the data that are encountered. The View is the object that is
responsible for displaying the necessary information to the end user.
The Controller, is the object that houses that business logic and is
responsible for providing cohesion between the Model and the View. The
Controller essentially takes the Model into consideration and then
appropriately displays a representation of that state.

The MVC pattern, in my humble opinion is best suited for a framework.
However, there is litany of patterns available that are available for
use, not always in the context of a framework, but available to
simplify the complexity of programming.

I hope this short tutorial helps. Go ahead and browse Google.

-Manny
Jul 18 '07 #10

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

Similar topics

92
6431
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? cheers, reed
125
14685
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 software giant such as Microsoft SQL Server, Oracle, and Sybase? Is PostgreSQL reliable enough to be used for high-end commercial application? Thanks
5
2934
by: google account | last post by:
Hiya. My CEO wants me to think about the direction the company's product should take. He has a bunch of guys offshore that develop with .NET, and he is keen to use them to build our product completely in a WAPI environment, completely web based. Presently we are using citrix to serve our clients a product that is developed in house using proprietry language, with a backend that is running on Linux using C-Isam (soon to be...
184
6997
by: jim | last post by:
In a thread about wrapping .Net applications using Thinstall and Xenocode, it was pointed out that there may be better programming languages/IDEs to use for the purpose of creating standalone, single executable apps. My goal is to create desktop applications for use on Windows XP+ OSs that are distributed as single executables that do not require traditional install packages to run. I would like to use a drag and drop UI development...
0
8233
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
8675
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8474
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...
1
6108
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2604
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
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1482
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.