Wizard creating code in multiple programming languages
2 answers
I would personally go with the Strategy Pattern . You can create a master code generation class and create it with a strategy.
PHPCodeStrategy ASPCodeStrategy
Then each of them can have a method called execute. Then you can add additional strategies to the line and expand your application.
Andrew
+1
source to share