+ Reply to Thread
Results 1 to 10 of 10

Thread: PHP Large Project Development

  1. #1
    ganjasensation0098's Avatar
    ganjasensation0098 is offline x10Hosting Member ganjasensation0098 is an unknown quantity at this point
    Join Date
    Sep 2010
    Posts
    36

    PHP Large Project Development

    What are the basic things needed in building large project in php? and some tips also.
    HERB is the healing of a nation. ALCOHOL is the destruction.

  2. #2
    vishal's Avatar
    vishal is offline -::-X10 Guru-::- vishal has a brilliant futurevishal has a brilliant future
    Join Date
    Nov 2009
    Location
    INDIA
    Posts
    5,254

    Re: PHP Large Project Development

    If its a large project then you can depend on any PHP Frameworks like Cakephp or CodeIgniter.This makes it somewhat easy and less time.
    Then you must have a good SRS of what you are going to do.
    Regards ~ Vishal
    Giving Reputation (at bottom of my post ) is the best way to encourage the person who helped you on forums.

  3. #3
    lemon-tree's Avatar
    lemon-tree is offline x10 Minion lemon-tree has a spectacular aura about
    Join Date
    Nov 2007
    Posts
    1,420

    Re: PHP Large Project Development

    A good version control system: Git or SVN are the most common ones you'll find, although there are some good alternatives too. Depending upon how you are distributing the workload, you will find that each one has its own benefits and detriments. Personally, I prefer Git due to its less centralised approach, but you'll have to do a little testing to see which is your preference.
    To be honest, you should be using a some form of version control on any project you do, large or small. Implementing it into your workflow is very simple and the benefits gained in both expandability and feature tracking make it vital. For example, I can tell you precisely when I added a function and can even go down to when each line of a script was made and who made it.
    Also, if you feel that you don't want to be using the command line to do all of the commits etc, then there are many applications, both free and paid, for any OS that will provide a GUI of your repository.

    You'll also probably want to use some form of IDE, rather than just having a folder with all your files in it and opening them one at a time. The environment allows to be far more efficient at your coding any good one will have syntax highlighting and may also show you parse-errors on-the-fly.
    Last edited by lemon-tree; 11-18-2010 at 07:32 AM.

  4. #4
    enjoy0309r is offline x10Hosting Member enjoy0309r is an unknown quantity at this point
    Join Date
    Nov 2010
    Posts
    1

    Re: PHP Large Project Development

    hey, first you need to know the basic knowledge of PHP.

    Once you finished that, you can study some small scripts, such as free and open source php guestbook.

    Then, you have enough experience in PHP code. You can study some big projects, such as Joomla, zen cart, etc.

    Generally speaking, this is a long way to go.

  5. #5
    fretwizz is offline x10Hosting Member fretwizz is an unknown quantity at this point
    Join Date
    Jun 2008
    Posts
    57

    Re: PHP Large Project Development

    If you know, how do you determine when to choose OOP?

  6. #6
    dotinfiniti29 is offline x10Hosting Member dotinfiniti29 is an unknown quantity at this point
    Join Date
    Oct 2010
    Posts
    2

    Re: PHP Large Project Development

    I would reccomend oop for any large scale project.
    It is fluid, scalable and perfect for re-use of code.
    Good luck

  7. #7
    rorybas is offline x10Hosting Member rorybas is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    16

    Re: PHP Large Project Development

    If you are doing a large scale project but none of the pages are too complex then I can recommend Dreamweaver since it writes the code for you! Also if you want it to do a little more you can tweak the code it has written.

  8. #8
    Gonrah's Avatar
    Gonrah is offline x10Hosting Member Gonrah is an unknown quantity at this point
    Join Date
    Sep 2010
    Location
    Earth
    Posts
    95

    Re: PHP Large Project Development

    If you are going to work on large project you probably will use mysql databases. They can be used of everything. Your username and profile details are stored in mysql tables, our post are also part of such tables.

  9. #9
    ganjasensation0098's Avatar
    ganjasensation0098 is offline x10Hosting Member ganjasensation0098 is an unknown quantity at this point
    Join Date
    Sep 2010
    Posts
    36

    Re: PHP Large Project Development

    Do you consider postgres instead of mysql for the backend?
    HERB is the healing of a nation. ALCOHOL is the destruction.

  10. #10
    callumacrae's Avatar
    callumacrae is offline not alex mac callumacrae is just really nice
    Join Date
    Dec 2007
    Location
    Wellesbourne, England
    Posts
    5,162

    Re: PHP Large Project Development

    Always use OOP!

    As lemon-tree said, use a version control system. I prefer Git, but I have experience in both and both will do the job. If there are multiple people working on this project, you will want an online git host, such as GitHub.

    Think up some coding standards - or use someone elses, such as the phpBB Coding Standards - and give them to your entire development team (or if it's just you, make sure you stick to them), as you want you code to be consistent.

    Plan ahead! Spend a week or two writing down and thinking about what your want the final product to do, how it'll do it, etc. There's nothing worse than finishing everything, then finding you've got to make some major code edits to the core because it doesn't allow x or y.

    If you've got a development team, communication is important. Use something like IRC to discuss what you're going to do next.

    As Vishal said, you can consider using a framework. This will make life easier for you. I would recommend taking a look at Symfony, as it leaves the developer with a lot more control.

    Why not make your project support multiple databases? If you're using PDO (which you should anyway), it supports multiple databases and it is easy to switch between them. Read my PDO tutorial here. You could also use a DBAL such as Doctrine DBAL.
    Last edited by callumacrae; 01-03-2011 at 04:45 AM. Reason: typo... again
    I can customise your phpBB board. Send me a PM.
    lynxphp - info, tutorials and scripts
    "A forum post should be like a skirt; long enough to cover the subject but short enough to keep things interesting."

+ Reply to Thread

Similar Threads

  1. Need Help - Pages to large
    By skyfall in forum Programming Help
    Replies: 2
    Last Post: 10-02-2010, 11:27 AM
  2. 414 Request-URI Too Large
    By agent-13 in forum Free Hosting
    Replies: 1
    Last Post: 09-16-2010, 01:21 PM
  3. Large Amounts of Text
    By garrensilverwing in forum Programming Help
    Replies: 11
    Last Post: 08-18-2009, 01:52 PM
  4. question reg large files
    By hathehariken in forum Free Hosting
    Replies: 2
    Last Post: 06-28-2009, 12:23 AM
  5. How large is your music collection?
    By Zenax in forum Off Topic
    Replies: 65
    Last Post: 10-28-2007, 03:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers