Refactoring

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
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".

Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!

Refactoring

Postby pety » Wed Nov 29, 2017 6:49 pm

There is no refactoring in RapidPHP or Webuilder.
For developers it is a must have.
Is there any refactoring in RApid or webuilder?
Thanks !
pety
 
Posts: 117
Joined: Fri Mar 02, 2012 7:17 pm

Re: Refactoring

Postby pmk65 » Mon Dec 04, 2017 5:19 pm

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.
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 509
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron