Does ColdFusion offer a mechanism for splitting CFC into multiple files? I'm not talking about the extension, I'm talking about splitting SAME CFC into several files; just like C # allows for "partial" classes. The reason for this is because I use T4 to generate the CFC heap, and I want to be able to mark functionality on the generated CFC by doing this in another file. I want to do this in such a way that it does not violate the principle of open closure.
No, sorry. I'm afraid a language restriction. CFC is a single file.
, , - . , cfcomponent - , , , .
<cfinclude> , :
<cfinclude>
<cfajaxproxy cfc="your.cfc">
( , .., cfc)
googling Coldfusion Mixins.
Source: https://habr.com/ru/post/1743878/More articles:ΠΠ°ΠΊΠΎΠΉ ΡΠ΅ΡΠΌΠΈΠ½ Π΄Π»Ρ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ ΠΈΠ»ΠΈ ΡΠΈΡΡΠ΅ΠΌΡ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΡΡΡ Π΄Π»Ρ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠ°Π½ΠΈΡ ΡΠ΅Π±Ρ? - computer-sciencePHP returns invalid MySQL resource - phpiphone: how to make page rotation - iphoneΠΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΈΡ ΠΊΠΎΠ΄Π΅ΠΊΠ° Xuggle - javaError getting ASP.net FFMPEG video file conversion: "Error number -2 occurred" - asp.netCode Coverage Tool for BlackBerry - metricsZend Framework with Google Chart - google-visualizationHow to present a list of points in R - data-structuresASP.net still displays cached versions - c #Focus Prevention Applet in IE - jqueryAll Articles