📜 ⬆️ ⬇️

Dilemma. (Sharing perl and php)

For some reason, it turned out that I am very active in web development using 2 programming languages: this is perl and php . Php I use, of course, actually to display information in the browser. And on perl, I write different utilities mainly for working with a database that is launched by cron or hand-to-hand.

As a result, for frequent I have to implement the same entities (data layer, table gateways, data mappers, etc ... (Note that I used ellipsis )) in different programming languages. That is, duplicate code. And I'm tired of this.

To write console utilities on php, I consider as a perversion and simply squeamish.
')
Writing on perl mapping is honestly scary for some reason. Maybe someday I'll do it. Another reason why I haven’t yet switched to perl thoroughly is the huge number of different CMS, FW and all sorts of web-based PHP libraries. (In particular, I work a lot with CMS Bitrix .)

Does anyone from habra people have such difficulties?

Source: https://habr.com/ru/post/25155/


All Articles