Can you create components on <https://trycf.com/>?
# cfml-general
s
Can you create components on https://trycf.com/?
z
Lucee 6.0 has inline and subcomponents https://luceeserver.atlassian.net/browse/LDEV-4125 πŸ˜‰
s
unfortunately, using ACF2016 here.
Planning on migrating to lucee though.
Someday
e
I didn’t know that Lucee 6 was getting inline and subcomponents. I am so excited for that!
z
πŸ™‚
t
Afaik, you cna't create your own (though I wish you could). But the built-in components for query, mail, http, etc. can be created, and depending on what you're testing can work as a substitute. -- like if you're just trying to work out what getMetaData returns or checking types or something.
d
Zackster you the man. I honestly thought something like was wishful thinking. So here is a wish maybe you can tell me about it’s probability: an LSP for lucee??? πŸ™
z
πŸ™‚
πŸŽ‰
d
What in the world
another rockstar - who is this cobbler dude?
z
send @David Rogers beers!
m
Tim mentioning the ability to create those built in cfcs got me thinking. You could create one of those objects, then remove the functions and add your own. I'm not sure how that would work for testing. I just tried it a little bit and it seems to work.
m
With closures you can also make your own objects that aren't cfc. I wrote this article a long time ago showing that. https://codebjournal.mattdyer.us/2014/09/using-closures-to-make-structs-behave.html
Lots of fun things you can do. Haha
Maybe I should put a warning on that article. "Not For Production Use"
πŸ˜† 1