Tools for development

Discussion forum for MOD Writers regarding MOD Development.
User avatar
Registered User
Posts: 1354
Joined: Mon Mar 02, 2009 1:41 pm
Name: Andreas

Re: Tools for development

Post by Sajaki » Sat Aug 17, 2013 5:34 pm

It's not a tool, but it is a php Reference and has lots of tips on tools too : wrote:There’s a lot of outdated information on the Web that leads new PHP users astray, propagating bad practices and insecure code. PHP: The Right Way is an easy-to-read, quick reference for PHP popular coding standards, links to authoritative tutorials around the Web and what the contributors consider to be best practices at the present time.

There is no canonical way to use PHP. This website aims to introduce new PHP developers to some topics which they may not discover until it is too late, and aims to give seasoned pros some fresh ideas on those topics they’ve been doing for years without ever reconsidering. This website will also not tell you which tools to use, but instead offer suggestions for multiple options, when possible explaining the differences in approach and use-case.

This is a living document and will continue to be updated with more helpful information and examples as they become available.

User avatar
Registered User
Posts: 124
Joined: Wed Apr 02, 2014 10:20 pm

Re: Tools for development

Post by hanelyp » Fri Mar 06, 2015 6:46 pm

If you run linux, Mac with the shell utilities, or windows with mingw or cygwin:

Wondering where a function is defined?
> cd <phpbb_root>
> grep -R "function <name>" *

Code is broken, and you're not sure why?
> tail <web server error log file>
or sometimes
> php <suspect php file>
will sometimes give useful information.

(I consider a computer without a bash shell and standard posix utilities to be crippled.)

User avatar
Registered User
Posts: 5616
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン

Re: Tools for development

Post by AmigoJack » Sat Mar 07, 2015 12:14 am

Those aren't development tools, they're rather fundamental tools for all occasions.

The Windows command line knows findstr since day 1, while DOS always offered find (which also finds lines in files) and type. Just in case you're in a situation not being able to run/get 3rd party software.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
We will not come anybody anyway, nevertheless, it's best to shit this.


Return to “[3.0.x] MOD Writers Discussion”