Is PHP good for my project?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gcaheron
Forum Newbie
Posts: 2
Joined: Mon Oct 06, 2003 4:22 pm
Location: Liverpool, UK

Is PHP good for my project?

Post by gcaheron »

Hi,

For my final year project I intend to create an online database for retail stock management. I want to manipulate this database using Artificially Intelligent functions to demonstrate it within a speeded up time frame e.g. a year in 5 minutes. Can I use PHP to implement the entire program or can I combine with c / ++. If so, I'll be learning PHP from scratch but has to be done if its the best way to go.

Thanks in advance,

gcaheron
Paddy
Forum Contributor
Posts: 244
Joined: Wed Jun 11, 2003 8:16 pm
Location: Hobart, Tas, Aussie
Contact:

Post by Paddy »

Is there a relatively large chunk of computation? And is the speed of output a consideration of your decision if this is the case?
synicarus
Forum Newbie
Posts: 7
Joined: Tue Sep 16, 2003 10:23 pm

edit

Post by synicarus »

edit
Last edited by synicarus on Mon Jul 09, 2007 6:10 pm, edited 1 time in total.
Paddy
Forum Contributor
Posts: 244
Joined: Wed Jun 11, 2003 8:16 pm
Location: Hobart, Tas, Aussie
Contact:

Post by Paddy »

I didn't really understand that bit.
Stoneguard
Forum Contributor
Posts: 101
Joined: Wed Aug 13, 2003 9:02 pm
Location: USA

Post by Stoneguard »

I am fairly new to PHP. I have extensive work with Object Oriented Design and Programming (including C++ and Smalltalk). I will say that PHP makes an excellent and very robust scripting language. Nevertheless, it is still script and still interpreted, which poses some limitations in speed and size. Depending on how AI your system really is and how OO it is, HP may be sufficient, but I would guess you will need some limited interfacing to C++ or some other language if your engine is very involved.

I am currently doing my first client project in PHP and have found no problems, however, there is no AI involved in it (well, ok, some very simplistic levels, just touching the surface). In fact, I have been very happy with the ease at which some things can be done and how much is already built into the base interpreter.

However, if you already know C++ and must do this in a web-based environment, I might suggest looking at C#. PHP really is a simple language if you already know C++, but C# is a much more object based language and does have some advantages (and limitations) in that respect, including some semi-compiled abilities. But C# is way too expensive in my opinion, but if you are in classes, I do not know if you can get a free copy or not.

Again, I am not saying you can't do it in PHP, and I personally would try it just to see if it could be done. It all depends on the resources available to you. PHP has a great host of functionality available to it, and so far I have been more happy working with it than I have in years.
gcaheron
Forum Newbie
Posts: 2
Joined: Mon Oct 06, 2003 4:22 pm
Location: Liverpool, UK

computation

Post by gcaheron »

Is there a relatively large chunk of computation? And is the speed of output a consideration of your decision if this is the case?
Customers and deliveries have to simulated as well as the general running of a warehouse and shop floor. I am also including the location of the product within the warehouse and the shop floor as a variable via coordinates. the speeded up time frame will demonstrate how all the functions come into play within a year.
I might suggest looking at C#.
thanks for the suggestion, I will definitely be considering C# as an option too for implementation. All this decision-making gives me more to write about on my project.
User avatar
wmasterj
Forum Commoner
Posts: 40
Joined: Mon Aug 18, 2003 5:52 pm
Location: Stockholm, Sweden

Post by wmasterj »

Good luck! :D :) 8)
Post Reply