SitePoint Sponsor |
|
User Tag List
Results 1 to 25 of 42
-
Apr 28, 2005, 02:33 #1
- Join Date
- Jul 2004
- Location
- philippines
- Posts
- 13
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Help : Is Php Right for this project?
hi,
im about to propose a project. the project is basically focused on the inventory, sales, ecommerce of a bakery with 36 branches.
up till now i haven't had doubts using PHP to provide solutions for projects. Now i just want to know the opinion of people regarding this.
In addition, is Mysql robust enough for this? or do i need to go PostGres?
A lot of people have been saying that .NET is the way to go.
Please advise.
-
Apr 28, 2005, 03:46 #2
Its hard to give a definitive answer without knowing more precise specs but I'm going to go out on a limb and say, PHP is more than capable, but it mostly depends on your own skills as a developer.
Have the people telling you .NET is the way go given you an actual reason why? In addition, if you don't actually KNOW .NET, then I'd say quite simply its not the way to go at this point.
-
Apr 28, 2005, 04:17 #3
- Join Date
- Jun 2004
- Location
- Copenhagen, Denmark
- Posts
- 6,157
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
as luke points out, it really depends on witch platform your developers are skilled with.
mysql is perfectly stable. the reasons for picking postgree should rather be that it supports more of the advanced features of sql. but again - that's highly dependent on your developers, since if they don't utilize these features, it deosn't really matter.
-
Apr 28, 2005, 07:25 #4
- Join Date
- Nov 2002
- Posts
- 841
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Both MySQL and Postgres are more than capable of handling this job. Use the one you know better.
One area where you can get into trouble with PHP in a project like this is with PHP's server side focus. If you need a thick client, you should choose .NET.
Some reasons you might need a thick client (off hand):
Hardcore data entry works very poorly via a browser UI.
Integrating with hardware devices, for example, a bar code scanner.
Need to work offline.
I would say that the answer depends on the location, volume and frequency of the non-web based input to the system.
-
Apr 28, 2005, 07:51 #5
- Join Date
- Nov 2003
- Location
- Los Angeles, CA
- Posts
- 460
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
you could also do a thick client using php-gtk to make client applications, so you could have an all-php solution
My-Bic - Easiest AJAX/PHP Framework Around
Now Debug PHP scripts with Firebug!
-
Apr 28, 2005, 08:35 #6
- Join Date
- Sep 2004
- Location
- Zagreb, Croatia
- Posts
- 830
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by Selkirk
-
Apr 28, 2005, 09:56 #7
- Join Date
- Aug 2004
- Location
- California
- Posts
- 1,672
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Web based inventory, sales, ecommerce of a bakery with 36 branches sounds like a straightforward think to implement with a LAMP stack. Technologically .NET or PHP are equally able to handle this type of implementation. If NASA can use MySQL for large database apps, I doubt that your bakeries will push it much.
LAMP will provide some incremental savings in the years ahead by reducing upgrade and licensing costs. However it really depends on the developers. The time/cost of training a .NET programmer in PHP or a PHP programmer in .NET would have a major effect on the budget.
The only reasons I recommend .NET are: 1) If there is mostly only knowledge of .NET by the developers, 2) there are other applications that are .NET that need to be closely integrated.Christopher
-
Apr 28, 2005, 10:20 #8
- Join Date
- Nov 2002
- Posts
- 841
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by arborint
Do you have specific printing needs? Do you have to print onto pre-printed forms? For example, in various countries invoices, bills of lading, etc are legal documents and sometimes have to be printed in special formats by law. Do you have to print inventory tags?
Is the a need for a POS presence?
It is in the degree of integration with the physical world where PHP can fall behind.
Server side, I don't think it would make much difference.
I don't think php-gtk is a reasonable solution. Pick the right tool for the job, or pick the right job for the tool, but don't try to use the wrong tool for the wrong job.
-
Apr 28, 2005, 10:37 #9
- Join Date
- Aug 2004
- Location
- California
- Posts
- 1,672
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Are there input devices like bar code scanners?It is in the degree of integration with the physical world where PHP can fall behind.Christopher
-
Apr 28, 2005, 11:33 #10
- Join Date
- Jul 2004
- Location
- philippines
- Posts
- 13
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
thanks for all the replies, they've been really helpful.
hmm ill keep that in mind about hardware integration and php's lack of support for it.
the doubts that have popped up in my head are primarily rooted to the many clients' persistence to choose .NET, so i decided to get a wide array of opinions.
-
Apr 28, 2005, 12:35 #11
- Join Date
- Aug 2004
- Location
- California
- Posts
- 1,672
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You should get to the bottom of "many clients' persistence to choose .NET" It may be fact or fiction. LAMP is a proven technology and if that is what your developers know, you will benefit in the long term.
Christopher
-
Apr 28, 2005, 23:58 #12
- Join Date
- Dec 2003
- Location
- oz
- Posts
- 819
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by cyx_23
Originally Posted by cyx_23
Originally Posted by cyx_23
Originally Posted by cyx_23
Good luck with it.
Eli
-
Apr 29, 2005, 03:38 #13
- Join Date
- Jul 2004
- Location
- philippines
- Posts
- 13
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
thanks for the reply. will take all these into consideration.
-
Apr 29, 2005, 06:40 #14
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by jplush76
With that said, if your developers are proficient with PHP, it's a safer bet to go withthat.Mattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
-
Apr 29, 2005, 09:22 #15
- Join Date
- Sep 2003
- Location
- Wixom, Michigan
- Posts
- 591
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I have used MySQL and PHP for a complete enterprise management solution, including inventory, sales and lead systems, ecommerce and multiple store management, and deployment / shipping / tracking of packages and delivery. All of this integrated nicely with a barcode scanner that was programmed to enter the barcode plus a carriage return, and I never even had to resort to a desktop GUI for this, it all was web based and worked very nicely together. The inventory and shipping processes were both automated by way of the barcode scanner and it never required any specific programming to interface with the hardware.
Garcia
-
Apr 29, 2005, 10:16 #16
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by ghurtado
Mattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
-
Apr 29, 2005, 11:34 #17
- Join Date
- Aug 2004
- Location
- California
- Posts
- 1,672
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
However, when you need more sophisticated GUIs, the web is simply very unsuitable due to the fact that the entire, or in best case, parts of the interface has to be transferred every time you give the system a command.
For example, I would expect it would be much easier to build a complex GUI for a mix of Windows, Mac and Linux clients using PHP/Javascript than .NET (where maybe Mono could get you part of the way).Christopher
-
Apr 29, 2005, 11:48 #18
- Join Date
- Jan 2003
- Posts
- 5,748
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I've never been in favour of Microsoft, and more so Dot Net. At the end of the day though, Open Source does have a lot more going for it than a propertiety technology does, that's a fact.
PHP is upto the job and let's not kid ourselves about that, it is. Period. That said, therefore the first option would be to use PHP, and that is me being biasd. If on the otherhand PHP isn't suitable, I'd like to think that Java would be the certain alternative; anything but Dot Net would be a suitable candidate
-
May 1, 2005, 15:38 #19
- Join Date
- Jul 2004
- Location
- Gerodieville Central, UK
- Posts
- 446
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by Dr Livingston
I personally think .NET is much better, there seems to be a lower learning curve to it and it has managed to stay clear, and learn from some of the java pitfalls. However, Java might be a better way to go should you require a thick client with support for Linux and Mac OS X. However, it's far from ideal. Java's UI is a nightmare and very unuseable compared to native OS UI's. I guess thats what you pay for OS GUI abstraction.
As for MySQL. people seem to question the use of MySQL for bigger projects. I know my boss did the same when I started working on the site I'm finishing atm. I'm not pro MySQL myself, but MySQL can handle large amounts of data with ease. It what you need to do with the data which is the bigger question. MySQL lacks critical RDBMS features such as views, triggers, etc etc in it's current state (excluding MySQL 5.x). To me PostgreSQL does offer more feature wise. However, for very large sites, MySQL will be better as there are basic replication systems built into MySQL.
Take a look at projects like Flickr. That was based on MySQL. One of the ways it achieved it's goals with MySQL was to take advantage of the idea of "engines" behind MySQL, merged with replication. The bulk of the site was using InnoDB due to it's transactional features. The InnoDB tables where then replicated to MyISAM for the search engine, which used the full text index that MyIASM uses.
The issue with MySQL is what you want to do with the data, not much you have. My current project is for a property sales and letting franchise with about 120 offices. Being a franchise means the admin backend has become a way to unify all of the offices due to the decentralised nature of a franchise business. Overall seems to have a lot in common with what you are trying to achieve. Our database is several 100Mb in size and this is no issue for MySQL.
-
May 1, 2005, 16:38 #20
- Join Date
- Aug 2004
- Location
- California
- Posts
- 1,672
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I would sway in favour of .NET over Java if i had the choice.
It is amazing to me that Microsoft spent millions, probably hundreds of millions of dollars to develop .NET and that LAMP is competition at all. Same with Java. Amazing that PHP is even a contender given the quality, depth and polish of Java and .NET. PHP simply has great basic premises, that is why it is competetive.
Given how much Microsoft spend on marketing it is not suprising about the "many clients' persistence to choose .NET". I don't how a business person would every hear of PHP except word-of-mouth.Christopher
-
May 1, 2005, 17:07 #21
- Join Date
- Dec 2003
- Location
- oz
- Posts
- 819
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by arborint
saying that php is the greatest thing since sliced bread because its popularity is not a valid reason. Unless you think VB is the bomb also.
-
May 1, 2005, 17:48 #22
- Join Date
- Aug 2004
- Location
- California
- Posts
- 1,672
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I didn't say that "that php is the greatest thing since sliced bread" I only said that it has great basic premises. None of those premises are particularly unique.
because its popularity is not a valid reason
I think the idea that VB and PHP are just crap that took off is just silly. The idea that "any idiot can get something working" is sort of one of the premises of PHP. I consider PHP's openness to amateur programmers a positive.
I would actually say that PHP was the language that brought C to the web. C programmers (and there were/are lots of them) could suddenly build web apps. The PHP learning curve is similar to C as well. Of course, C is another any idiot could write a crap program language.Christopher
-
May 1, 2005, 20:44 #23
- Join Date
- Apr 2003
- Location
- London
- Posts
- 2,423
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
Hi...
Originally Posted by arborint
. The libraries seem to still have a lot of MFC like inheritance as well, although they may be tied to older Win32 code.
Despite some small language improvements, they are still seem to be playing catchup with Java. I still see .NET weak on O/R tools and IDEs compared with Java (although both are streets ahead of PHP). Never mind the security model, cross platform, telephony/mobile, etc.
I think Microsoft did have the good sense to pitch lower than the enormous learning curve of J2EE. For example it seems much more suitable for small web shops than Java unless you are very selective with the libraries (I have only played with C# so I may have missed complications). The depth of open source support for Java is staggering. Interesting new stuff (mock objects, dependency injection, Aspects, full text, FIT, Prevayler, etc) still comes out in Java first.
That leaves .NET in the middle? That PHP owns the lower rungs of the ladder must really be ruining Microsoft's day.
yours, MarcusMarcus Baker
Testing: SimpleTest, Cgreen, Fakemail
Other: Phemto dependency injector
Books: PHP in Action, 97 things
-
May 2, 2005, 01:35 #24
- Join Date
- Jan 2003
- Posts
- 5,748
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Microsoft playing catchup to Java? Of course they are, and they will still be doing so for the forseeable future.
Let's not forget that we have some serious players who back Java, and in that their existance solely relys upon that. That is a strength that Dot Net doesn't have in my view, and as to why I said that Java would be a more competent alternative to Dot Net in most cases
As for PHP, well I'm biased towards this so I won't comment any further in that context.
-
May 2, 2005, 01:37 #25
- Join Date
- Sep 2000
- Location
- Halmstad, Sweden
- Posts
- 7,400
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by lastcraft
Mattias Johansson
Short, Swedish, Web Developer
Buttons and Dog Tags with your custom design:
FatStatement.com
Bookmarks