Systems | Development | Analytics | API | Testing

A guide to custom model casts in Laravel

Model casts, mutators, and accessors are something you work with a lot when building Laravel applications. They play an essential role in how you interact with your models and their underlying data. Laravel ships with a variety of handy, built-in casts which cover the majority of your use cases. But there may be times when you need to create your own custom casts to handle storing and retrieving data in a specific way.

What is an API (Application Programming Interface)?

APIs, or application programming interfaces, are sets of functions and procedures that serve as bridges between applications, dictating how services interact within an ecosystem. They specify accepted requests and their formats, enabling seamless data and functionality exchange between software entities. Common services accessible via APIs include geolocation data, weather updates, financial information, and authentication services through platforms like Google or Facebook.

Self-Serviceable Continuous Deployment (CD) Pipelines On Choreo

We’re excited to share that self-serviceable continuous deployment (CD) pipelines are now generally available in Choreo. This feature builds on Choreo’s multi-environment, multi-cluster capabilities and gives platform teams even greater control over deployment workflows.

How to Fix Python TypeError: 'int' object is not subscriptable

If you're working with Python, you've likely encountered the TypeError: 'int' object is not subscriptable. This is a common error, especially for beginners or when dealing with dynamic data. It fundamentally signals a misunderstanding between what your code expects a variable to be and what it actually is.

The ultimate guide to Python exception handling

Exceptions can occur for various reasons, such as invalid input, logical errors, file handling issues, network problems, or other exception conditions. Examples of exceptions in Python include ZeroDivisionError, TypeError, FileNotFoundError, and ValueError, among others. Exception handling in Python is a crucial aspect of writing robust and reliable code in Python.

Rate Limiting in Multi-Tenant APIs: Key Strategies

Rate limiting ensures fair API usage, protects system performance, and prevents resource overload in multi-tenant environments. Here's what you need to know: Pro Tip: Use tools like DreamFactory for built-in rate limiting and traffic management. It simplifies tenant isolation, dynamic adjustments, and monitoring. Rate limiting is essential for fair, secure, and reliable API performance in multi-tenant systems. Dive into the full article for detailed strategies and examples.

Getting Real Value Out Of AI In Financial Services: 4 Use Cases

People are tired of talking about artificial intelligence (AI). They want action. Since the launch of ChatGPT, the financial services industry has been looking for ways to drive value with AI, but it's been a struggle to get real value out of AI experiments and pilot projects. The banking industry prefers to avoid potential risks, so how can financial sector leaders move from AI experimentation to AI value while being mindful of risk tolerance?

The Art of Throwing Exceptions in C# (or How to Fail Gracefully)

Exceptions in C# are like fire alarms – they're loud, disruptive, and absolutely essential. And much like fire alarms, most beginners either ignore them or disconnect the batteries. Let me explain what we're dealing with here. In the C# world, exceptions are specialized objects that capture all the details when something goes wrong in your code. They're not just error messages – they're fully-fledged objects that inherit from the System.Exception class.

Swift Concurrency Explained: GCD, Operation Queues, and Async/Await

Concurrency is the ability of an app to perform multiple tasks at once, and it’s a crucial concept for apps that need to perform multiple tasks at once in an efficient, usable way. Thankfully Swift has made great strides with concurrency, and now provides simple tools for writing robust apps that are responsive and enjoyable to use. In this article we’ll explore two main ways of using threads for concurrency models.

The Smart Approach to Enterprise AI Strategy: How to Get Value from AI

Artificial intelligence is now ever-present in many businesses. But where’s the ROI? Many deployments stall in pilot mode, failing to drive transformation. Over the past two years, businesses have rushed to deploy generative AI to try to boost operational efficiency, improve customer experiences, and achieve critical organizational objectives. But without a structured enterprise AI strategy, these efforts have failed to drive tangible business outcomes. The problem?