Home / Companies / Vonage / Blog / January 2024

January 2024 Summaries

15 posts from Vonage

Filter
Month: Year:
Post Summaries Back to Blog
In a model-driven engineering (MDE) approach, the key principles to consider before embarking on this development methodology are understanding your "why", knowing if your domain is easily definable with a metamodel, and considering how complex the generator will be. It's also essential to determine how much manual coding the generator can save, how frequently you'll use it, how easy it is to update your models, whether the metamodel needs to change frequently, and how often the generator will need to change. Additionally, organizational factors such as team onboarding and iterative development are crucial to the success of this approach. By understanding these principles and being aware of the limitations and overheads involved, you can make the most of MDE in your software projects.
Jan 31, 2024 2,862 words in the original blog post.
The tutorial demonstrates how to use the Vonage Voice API to create a "ghost call" using an SMS message as a trigger. The project involves setting up Node.js and Express, configuring the Vonage application, and implementing server-side code to handle incoming SMS messages and make outbound calls with pre-recorded or dynamic NCCO (Nexmo Call Control Object) specifications. The tutorial provides a step-by-step guide on how to set up the environment, create the necessary files, and run the application.
Jan 30, 2024 1,070 words in the original blog post.
To send an SMS message using the Vonage PHP SDK, you will need a Vonage API account and your API Key and API Secret. You can create a new PHP script or use a web application framework like Slim to send an SMS with as few lines of code as possible. With a raw script, you can send a text message by requiring the Vonage PHP SDK and creating a Client object with your credentials and message data. Alternatively, you can plug this into a basic web framework like Slim to POST a JSON body containing the text to be sent, making it easier to integrate with other applications.
Jan 29, 2024 585 words in the original blog post.
This tutorial demonstrates how to send and receive WhatsApp messages using the Vonage Messages API with a Laravel application. The process begins by setting up a Vonage API account, creating a virtual phone number, and cloning a demo Laravel repository. The application environment is configured by filling in variables for the Application ID, Private Key Path, and From Number. The `php artisan serve` command is used to start the server, and ngrok is utilized to map the public URL. Two important routes are defined: one for sending outgoing messages and another for receiving incoming webhooks triggered by Vonage. The code uses the Vonage PHP SDK to interact with the Messages API, allowing users to send and receive WhatsApp messages.
Jan 25, 2024 1,237 words in the original blog post.
The author, a game enthusiast, was inspired by playing RPGs as a child to create an interactive storytelling experience called Vonage's Gate using Vonage AI Studio and Messages API. The game follows a "choose your own adventure" style where players make decisions that shape the story's outcome. To create this game, the author set up a database in Notion to store gameplay values and connected it to Vonage AI Studio for data access and integration. The author designed a conversational flow using drag-and-drop nodes, including webhooks, conditions, and actions to connect the database with the chatbot. With these components, players can engage in an interactive story where their choices determine the outcome, showcasing how game development principles can be applied to build engaging experiences without extensive coding knowledge.
Jan 24, 2024 1,627 words in the original blog post.
The author of the article used model-driven engineering (MDE) to automate the process of generating boilerplate code for a new API in the Vonage Java SDK, saving significant time and effort. The MDE approach involved creating a metamodel that defined the structure of the API, including its endpoints, request and response types, and other metadata. A template-based language called Epsilon's Generation Language (EGL) was used to generate the boilerplate code, which was controlled by an EGX coordination language that ensured the templates were called with the correct parameters and output to the correct location. The author opted for a pragmatic approach to MDE, avoiding over-engineering and instead focusing on maximizing productivity. The process involved creating the metamodel, writing the EGL templates, defining the EGX script, and running it with the model as input.
Jan 23, 2024 1,769 words in the original blog post.
The Vonage Video API enables developers to integrate real-time translation into their applications, breaking down language barriers and fostering global collaboration. The integration involves several steps, including setting up a WebSocket connection between the server and Google Cloud's Text APIs for speech recognition, translation, and text-to-speech processing. The process also requires creating an Experience Composer instance to inject the translated audio into the video session. The implementation involves writing middleware code on the server-side to handle the audio data transmission and create the necessary API endpoints. The client-side JavaScript code is responsible for sending the audio data to the server and establishing a WebSocket connection with Google Cloud's Text APIs.
Jan 18, 2024 1,648 words in the original blog post.
The field of software development has evolved significantly since its early days, with the task of a programmer being to relay instructions to underlying hardware, but now focusing on solutions at a higher level of abstraction. Model-Driven Engineering (MDE) is a discipline that promotes models as first-class artifacts in the engineering process, raising the level of abstraction and using metamodels to describe domain-specific data. The Eclipse Modelling Framework (EMF) provides a framework for defining metamodels and tooling to work with them programmatically in Java, including Ecore as its meta-metamodel. Model Management is the process of acting upon models, which includes tasks such as visualisation, querying, validation, comparison, merging, migration, transformation, and text generation. The de-facto language used for validating models beyond the capabilities of Ecore is the Object Constraint Language (OCL). Epsilon provides a family of task-specific model management languages built on top of a common core query language called EOL, which supports multiple modelling technologies and is not bound to EMF, providing an all-in-one solution for model management.
Jan 17, 2024 2,208 words in the original blog post.
There Are Imposters Among Us` is a blog post that discusses the importance of detecting and preventing fraud in software applications. The author, who is also a developer, shares their experience playing the game "Among Us" with friends during the COVID-19 pandemic, drawing parallels between the game's objective to identify impostors and the real-world challenge of identifying and neutralizing threats to application security. The post introduces Vonage Fraud Defender, a developer-friendly tool for fraud detection and prevention that provides real-time monitoring and alerting capabilities, customizable rule creation, and integration into existing systems at no additional cost. The author guides readers through setting up and using Fraud Defender, highlighting its features such as customizable notification settings, ability to define specific rules, and options to block traffic to selected countries. By following the steps outlined in the post, developers can enhance their applications' security measures against fraud and join a community of "crewmates" on Slack and social media platforms.
Jan 16, 2024 533 words in the original blog post.
This paragraph provides a detailed overview of sending a Unicode message using the Vonage PHP SDK and Symfony Framework. The author created a simple application that uses the Messages API to send a Greek Unicode message from a Viber device. They bootstrapped a full Symfony framework with Docker, added the Vonage PHP SDK as a dependency, configured the credentials, and used the Messages Sandbox to test the application. The code demonstrates how to extract the message payload, create a ViberText object, and send the message using the Vonage Client. The author also implemented defensive coding by introducing a try-catch block to handle exceptions and logging errors with Symfony's Monolog logger.
Jan 15, 2024 1,759 words in the original blog post.
The text discusses the challenges of working with phone numbers in a Ruby on Rails application that uses Vonage Communications APIs. It highlights the importance of specifying a destination phone number for interactions such as automated calls, SMS, and two-factor authentication. The article explains how to normalize phone number data using the `normalizes` method, which ensures that the data conforms to a specific format before persisting it to a database. Additionally, it introduces Generated Columns, a feature in Rails 7.0 that allows for virtual columns with derived values from other columns, providing a cleaner solution to combine country code and phone number data. The article concludes by highlighting the usefulness of these features in developing applications with Vonage Communications APIs.
Jan 11, 2024 2,500 words in the original blog post.
As the Vonage Developer Experience team enters a new year, they're excited to roll out innovative projects and updates, following a quarter of hard work dedicated to bringing new tools and improvements to developer experience. The team is welcoming Twilio Programmable Video customers to Vonage's family, providing ready-to-go sample apps with HD video capabilities and AI enhancements for those making the switch. Additionally, Conversations for Salesforce (CSF), a Salesforce Connector powered by Vonage APIs, offers user-friendly features like no-code setup, customizable conversation flows, and WhatsApp template management to enhance customer engagement. The team has also integrated Video API application management into the Vonage API Dashboard, allowing users to build and manage custom video experiences with features like secure video sessions and AI-powered video enhancements. Furthermore, Simplified Messaging Compliance in North America is now available, featuring an automatic handling of HELP/STOP compliance keywords, replies, and opt-outs for SMS/MMS messaging campaigns at no extra cost.
Jan 10, 2024 457 words in the original blog post.
The Vonage SMS API enables users to send and receive text messages worldwide using REST APIs. This tutorial focuses on sending and receiving SMS messages and handling delivery receipts with Next.js. It assumes a basic understanding of Git, Next.js, React, and JavaScript. The tutorial covers how to create a new Next.js project, declare environment variables, install the Vonage Node.js SDK, and create a server-only form using Zod for validation. To send an SMS message, users need to provide their API key, API secret, and virtual number. The tutorial also explains how to receive delivery receipts and handle incoming SMS messages using a webhook endpoint. With this setup, users can deploy their app on Vercel or another platform and access the Vonage Send SMS form in its live version.
Jan 09, 2024 2,517 words in the original blog post.
The Vonage Video API team has released version 2.27 of the Client SDK, which enhances user experience by providing tools for high-quality, reliable video communications. A new feature called Publisher Audio Fallback optimizes audio quality during challenging network conditions, while a VP9 codec selection allows for enhanced video compression and higher-quality visual content. The Client SDK also includes end-to-end media encryption, native SDKs with security updates, and a Subscriber-Side Media Processor that enables direct media transformations on the receiving side. These features are now available to Vonage Video API customers running on the standard environment, with plans to release them to the Enterprise Environment in early February.
Jan 08, 2024 763 words in the original blog post.
The Vonage Client SDK allows you to build applications for iOS, Android, and the Web that feature voice and messaging communications backed by the Vonage Conversation API. When building such apps, it is essential to consider how changes in connectivity can affect the app's experience, as devices switch between cellular and WiFi connections. The Client SDK provides listeners on Android and delegate functions on iOS to monitor connectivity changes, allowing you to update your app's UI to give feedback to users. The SDK also allows for automatic reconnecting of calls when internet connectivity changes, with options to recover a call if the app dies or move a call between devices. By using these features, developers can ensure a seamless user experience despite connectivity issues.
Jan 08, 2024 465 words in the original blog post.