I am finalizing the latest beta for 2.0 and it will be available this week. One new feature that will be available is the addition of pre/post event handlers for a requested event. What does this mean? Well, once an event is requested to the framework, let's say its "ehTools.dspTree". Then the framework will execute the dspTree method in the ehTools event handler. Now, you can declare two new methods in the ehTools event handler: 1) preHandler 2)postHandler Inside of those two new methods you will place any logic that will be executed before/after any requested event in that event handler cfc. This is a great way to implicitly run events before and after a requested event. You can even filter the type of logic you would like to execute inside of these methods by looking into the context object and seeing the event that was executed. This is a great addition to the framework and I expect your comments on this addition. You can find the ticket Read it and let me know your thoughts
Blog
Recent Entries
MatchBox Brings BoxLang to ESP32 Microcontrollers 🦀
One of the most unusual parts of MatchBox is the ESP32 target.
The MatchBox open beta is available at https://github.com/ortus-boxlang/matchbox, and it can compile BoxLang scripts into bytecode and deploy them to ESP32 microcontrollers. That means the same language used for scripts, native tools, web services, and browser logic can also run on a small embedded device.
BoxLang AWS, Azure, and Google Secrets Manager Module Released
Every production application carries secrets: database passwords, API tokens, encryption keys. The question is never whether to manage them -- it's how badly the current approach is going to hurt you.
BoxLang 1.14.0 : BoxLang Ranges Part 2: Teach BoxLang Your Types with `IRangeable`
In Part 1, we covered BoxLang's first-class range system: lazy evaluation, exclusive boundaries, built-in types (integers, decimals, characters, dates), custom stepping, Java Stream integration, and contains() semantics. If you haven't read it yet, start there.
Add Your Comment