There is no refactoring in RapidPHP or Webuilder.
For developers it is a must have.
Is there any refactoring in RApid or webuilder?
Thanks !
Refactoring
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
- Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
- Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
- Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Re: Refactoring
There's no "magic refactoring code", as it depends on the programming language you want to refactor.
You would probably have to write some plugin with different functionality depending on the language you want to refactor.
For processing/refactoring PHP code, a good start would be the glayzzle's php-parser which converts PHP code into abstract syntax tree (AST) format.
Then you could modify the AST array to refactor the code, and use php-unparser to convert the AST array back to PHP code.
You would probably have to write some plugin with different functionality depending on the language you want to refactor.
For processing/refactoring PHP code, a good start would be the glayzzle's php-parser which converts PHP code into abstract syntax tree (AST) format.
Then you could modify the AST array to refactor the code, and use php-unparser to convert the AST array back to PHP code.
There are 10 types of people in the world: Those who understand binary and those who don't.