Tools for development

Discussion forum for MOD Writers regarding MOD Development.
Locked
User avatar
Sajaki
Registered User
Posts: 1390
Joined: Mon Mar 02, 2009 1:41 pm
Location: Amsterdam
Contact:

Re: Tools for development

Post by Sajaki »

It's not a tool, but it is a php Reference and has lots of tips on tools too : http://www.phptherightway.com/
http://www.phptherightway.com/ 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
hanelyp
Registered User
Posts: 124
Joined: Wed Apr 02, 2014 10:20 pm

Re: Tools for development

Post by hanelyp »

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
AmigoJack
Registered User
Posts: 6106
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Tools for development

Post by AmigoJack »

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 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." Affin, 2018-11-20
  • "But this shit is not here for you. You can follow with your. Maybe the question, instead, was for you, who know, so you shoved us how you are." axe70, 2020-10-10
  • "My reaction is not to everyone, especially to you." Raptiye, 2021-02-28
Locked

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