473,748 Members | 4,804 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need advices in choosing approach

I am a student and are required to build a website that provide
services (client-server).

I need advice in choosing approach or to be exact the methodology that
appropriate for such development. I am still new in design and
analysis, so any extra informations are greatly appreciated. Right
now, it is the initial phase, planning. So I need to decide which to
adapt. I had been read some of the open source projects code, and
majority seems to be adapting procedural programming, althought mostly
because they were build prior to PHP5, anyhow, is it a bright decision
to do it object-oriented way?
Dec 16 '07 #1
14 1586
Leah wrote:
I am a student and are required to build a website that provide
services (client-server).

I need advice in choosing approach or to be exact the methodology that
appropriate for such development. I am still new in design and
analysis, so any extra informations are greatly appreciated. Right
now, it is the initial phase, planning. So I need to decide which to
adapt. I had been read some of the open source projects code, and
majority seems to be adapting procedural programming, althought mostly
because they were build prior to PHP5, anyhow, is it a bright decision
to do it object-oriented way?
Not necessarily.

With OOP you need to spend a lot of time analysing the problem before
coding to get the objects correctly defined.

In many cases this takes longer than writing procedural, and fixing it
slightly as issues arise.

Unless you are familiar with and like coding OOP, I would stay clear of
it. Unless again the problem falls naturally into objects..i.e. don't
force the problem to conform to one way of looking at it or another..see
which approach suits the problems - and the skill set of the programmers
you will be using.

Dec 16 '07 #2
Leah wrote:
I am a student and are required to build a website that provide
services (client-server).

I need advice in choosing approach or to be exact the methodology that
appropriate for such development. I am still new in design and
analysis, so any extra informations are greatly appreciated. Right
now, it is the initial phase, planning. So I need to decide which to
adapt. I had been read some of the open source projects code, and
majority seems to be adapting procedural programming, althought mostly
because they were build prior to PHP5, anyhow, is it a bright decision
to do it object-oriented way?
I think you're getting the cart ahead of the horse, here. You should
have your site planned first, to find out what you need. Then make a
selection of your methodology based on those needs. IOW, pick the right
tool for the job. Don't let the tool drive the job.

And contrary to other claims here, I've been doing OOAD for almost 20
years - before Booch, Rumbaugh and the rest became popular. And no, it
does not take more time to build an OO design than it takes to write
procedural code. In fact, I've found virtually every project where you
have experienced OO designers and programmers, the entire project from
design through final test takes less time and has fewer bugs than than
similar projects done procedurally.

But, of course, it takes time and energy to learn how to do OO properly
and become efficient at it.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===

Dec 16 '07 #3
Jerry Stuckle wrote:
In fact, I've found virtually every project where you
have experienced OO designers and programmers, the entire project from
design through final test takes less time and has fewer bugs than than
similar projects done procedurally.

But, of course, it takes time and energy to learn how to do OO properly
and become efficient at it.
The two statements would appear to be mutually exclusive, Jerry.
Dec 16 '07 #4
On Dec 16, 7:25 pm, The Natural Philosopher <a...@b.cwrot e:
Unless you are familiar with and like coding OOP, I would stay clear of
it. Unless again the problem falls naturally into objects..i.e. don't
force the problem to conform to one way of looking at it or another..see
which approach suits the problems - and the skill set of the programmers
you will be using.
Sorry, I think I had hit the wrong reply method....previ ously replied
posts not appeared.

While I had some experienced with Java. But when I move and imagine
the web development, I couldn't get an idea how it should be *solved*
using OO. I don't know why, perhaps it just happened to just me, it
seems to be very abstract in such context, afterall it merely used to
generate chunk of HTML codes, unlike Java's AWT or Swing that
extensively use OO specifically inheritance to model the packages
framework, correct me if I am wrong.

Any suggestions?

Dec 16 '07 #5
On Dec 16, 9:27 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
I think you're getting the cart ahead of the horse, here. You should
have your site planned first, to find out what you need. Then make a
selection of your methodology based on those needs. IOW, pick the right
tool for the job. Don't let the tool drive the job.
I am preparing proposal, and need to specify which methodology to use,
although OOAD is preferred since it s covered in the course module.
The problems is, as I replied The Natural Philosopher in 3rd post.
And contrary to other claims here, I've been doing OOAD for almost 20
years - before Booch, Rumbaugh and the rest became popular. And no, it
does not take more time to build an OO design than it takes to write
procedural code. In fact, I've found virtually every project where you
have experienced OO designers and programmers, the entire project from
design through final test takes less time and has fewer bugs than than
similar projects done procedurally.

On Dec 16, 7:25 pm, The Natural Philosopher <a...@b.cwrot e:
For this reason I tend to take a "mostly OO" approach. I put as much
code as possible in classes, but simple utility code that might be
needed anywhere in the package in unreleated classes may just end up
in standard functions.
While it seems to be logically fine to code using both procedural and
OO to mix around, but which methodology it is actually refering to?
Dec 16 '07 #6

"The Natural Philosopher" <a@b.cwrote in message
news:11******** ********@proxy0 0.news.clara.ne t...
Jerry Stuckle wrote:
> In fact, I've found virtually every project where you have experienced
OO designers and programmers, the entire project from design through
final test takes less time and has fewer bugs than than similar projects
done procedurally.

But, of course, it takes time and energy to learn how to do OO properly
and become efficient at it.

The two statements would appear to be mutually exclusive, Jerry.
it's a jerry-ism. you have to get into jerry's mind for him to make
sense...and that's a lot of work without much benefit. the rest of us just
see such a statement as having mutual exclusive conclusions where one of
them ("fewer bugs") is non sequitur to the claims they support ("does not
take more time to build an OO design"). like i said, just treat it as a
jerry-ism and leave it at that. otherwise, he'll just call *you* stupid and
troll you until the cows come home. it's something to do with insecurity i
think.
Dec 16 '07 #7
Steve wrote:
"The Natural Philosopher" <a@b.cwrote in message
news:11******** ********@proxy0 0.news.clara.ne t...
>Jerry Stuckle wrote:
>> In fact, I've found virtually every project where you have experienced
OO designers and programmers, the entire project from design through
final test takes less time and has fewer bugs than than similar projects
done procedurally.

But, of course, it takes time and energy to learn how to do OO properly
and become efficient at it.
The two statements would appear to be mutually exclusive, Jerry.

it's a jerry-ism. you have to get into jerry's mind for him to make
sense...and that's a lot of work without much benefit. the rest of us just
see such a statement as having mutual exclusive conclusions where one of
them ("fewer bugs") is non sequitur to the claims they support ("does not
take more time to build an OO design"). like i said, just treat it as a
jerry-ism and leave it at that. otherwise, he'll just call *you* stupid and
troll you until the cows come home.
Two can play at that game ;-)
it's something to do with insecurity i
think.
Something like that I expect.
>
Dec 16 '07 #8

"The Natural Philosopher" <a@b.cwrote in message
news:11******** ********@demete r.uk.clara.net. ..
Steve wrote:
>"The Natural Philosopher" <a@b.cwrote in message
news:11******* *********@proxy 00.news.clara.n et...
>>Jerry Stuckle wrote:
In fact, I've found virtually every project where you have experienced
OO designers and programmers, the entire project from design through
final test takes less time and has fewer bugs than than similar
projects done procedurally.

But, of course, it takes time and energy to learn how to do OO properly
and become efficient at it.

The two statements would appear to be mutually exclusive, Jerry.

it's a jerry-ism. you have to get into jerry's mind for him to make
sense...and that's a lot of work without much benefit. the rest of us
just see such a statement as having mutual exclusive conclusions where
one of them ("fewer bugs") is non sequitur to the claims they support
("does not take more time to build an OO design"). like i said, just
treat it as a jerry-ism and leave it at that. otherwise, he'll just call
*you* stupid and troll you until the cows come home.

Two can play at that game ;-)
he, he, he.
>it's something to do with insecurity i think.
Something like that I expect.

Dec 16 '07 #9
Leah wrote:
On Dec 16, 7:25 pm, The Natural Philosopher <a...@b.cwrot e:
>Unless you are familiar with and like coding OOP, I would stay clear of
it. Unless again the problem falls naturally into objects..i.e. don't
force the problem to conform to one way of looking at it or another..see
which approach suits the problems - and the skill set of the programmers
you will be using.

Sorry, I think I had hit the wrong reply method....previ ously replied
posts not appeared.

While I had some experienced with Java. But when I move and imagine
the web development, I couldn't get an idea how it should be *solved*
using OO. I don't know why, perhaps it just happened to just me, it
seems to be very abstract in such context, afterall it merely used to
generate chunk of HTML codes, unlike Java's AWT or Swing that
extensively use OO specifically inheritance to model the packages
framework, correct me if I am wrong.

Any suggestions?

I use OO all over the place. Anywhere from database implementation
displaying information.

For instance - one type of non-database related classes I use is for
forms. It generates the form (sans some formatting) and handles the
input posted back. Common routines look for required vs. non-required
fields, and parse data based on specified criteria.

It all works quite well, and removes a lot of the validation code
normally necessary.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===

Dec 17 '07 #10

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

Similar topics

2
2325
by: Joh | last post by:
Hello, (sorry long) i think i have missed something in the code below, i would like to design some kind of detector with python, but i feel totally in a no way now and need some advices to advance :( data = "it is an <atag> example of the kind of </atag> data it must handle and another kind of data".split(" ")
28
2480
by: Jed | last post by:
Hello to all! I have a couple of projects I intend starting on, and was wondering if someone here could make a suggestion for a good compiler and development environment. My goals are as follows: 1. Develop the project code on XP.
19
4107
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate the code that implements managing unbound controls on forms given the superior performance of unbound controls in a client/server environment. I can easily understand a newbie using bound controls or someone with a tight deadline. I guess I need...
0
1329
by: Gildas Garcia | last post by:
Hello ! I need to build a intranet website which will manage all materials (computers, cars, printers, ...) for all centers of my company. Actually, I know c# and have already built some applications with it, but I'm very bad in architecture design. Can somebody help me to define it ? Each material can be affected to a center, a user or to the company (like servers). This application have to allow some actions to users,
1
1358
by: Ben | last post by:
Hi, I come from classic asp and i need some advice for this application. It's about a computer reservation system in a school. I want a page where a student can see his own made reservations, the number and the date of each reservation, and where he can check a checkbox beside each reservations to cancel it (or them). Those data are in a database. I use aspnet 2.0. What i would like is a table with four cells (one for each field + one...
3
2457
by: vijaykokate | last post by:
Our company http://www.softnmation.com/ offers its customers a great variety of products. Everything you need can be found in this site. Web Template, CSS Template, Logo Template, Corporate Identity Package, Logo Set,Icon Set, Flash Animated Template, Flash Intro Header, Flash Site, PHP-Nuke Theme, Full Site, Stretched Web Templates and Stretched Flash Templates, ZenCart Templates ,osCommerce Templates and many more
15
3652
by: Gan Quan | last post by:
I'm writing a c++ program that has many (100+) threads read/write files simultaneously. It works well if not considering the efficiency. The file i/o seems to be the bottleneck. This is my code to read from and write to files: #include <fstream> #include <sstream> #include <string>
1
1816
by: murdla | last post by:
Hello. I am working on a project where users can automatically create personnel advices on the mainframe through a .NET Web Service. My current problem is that I am trying to call a function multiple times to write out the advices to different folder, based on the color sent to the function. However, the program only writes the advices out to one folder. Can you help based on the code that I am attaching to the email?
6
1868
by: smk17 | last post by:
I've spent the last few minutes searching for this question and I found an answer, but it wasn't quite what the client wanted. I have a simple online form where the user needs to fill out five fields out of nine. The other four are already there and filled out for the user. When they hit submit, all data is sent to us. But, if they desire (for whatever reason) the user can possibly delete what is already there and fill in something...
0
8991
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
8830
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9544
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...
1
6796
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
6074
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
4606
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...
1
3313
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
2783
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
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.