Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Build to manage PHP projects?



Thanks. These are all excellent places to start looking.

Walter

On Wednesday, June 25, 2003, at 12:29 PM, email@hidden wrote:

Walter Lee Davis wrote:
| I searched the archives of this list, and found a few disconnected bits
| on [using PB for managing PHP files]. But has anyone on this list done
| any work toward setting up a Build that would copy over selected files,
| perhaps copying over one set of includes for the development server,
| and a different set for production?

Most likely, each person's project is different (he says in complete ignorance of PHP). For copying files, you'll need to use either a "Copy Files" phase or a shell-script phase. (I'd recommend using the shell script, as Copy Files is oriented towards assembling OS X package folders.)

| What Target should I choose as my model to get into this?

Use a "Tool" target, and delete all the regular build phases. For the scenario you describe, you could have several targets in your projext, a "Developement Server" target and a "Production Server" target. You can also make targets depend on other targets, so you might define a target that copies files used by everything.

| Is there a primer somewhere that would explain this glossy IDE to
| someone whose last foray into "real" executable programming was in 1979?

Have you rummaged around the documentation in "/Developer/Documentation"? I don't think there's anything specifically on using PB, but there's certainly a tutorial or two that explains PB on the way to writing the example program. The PB help system is worth looking into as well. Also, you might check out some of the "how to program Cocoa" and "how to program Carbon" books--the ones that target OS X development will most likely use PB as their IDE (since it comes free with OS X, the readers are likely to already have it).

Glen Fisher
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.