Programming basics
Summarize
Summary of Programming Basics
This guide introduces essential steps and best practices for developing applications using ServiceNow's App Engine Studio, which provides a low-code development platform. Whether you are a novice or an experienced developer, this process outlines how to effectively create, test, deploy, and maintain applications within the ServiceNow environment.
Show less
Key Features
- Development Lifecycle: The software development life cycle includes defining the problem, planning the solution, coding, testing, deploying, and documenting the application.
- Low-Code Tools: App Engine Studio allows users with no coding experience to create applications, while also catering to those with mid-level and expert coding knowledge.
- Planning and Input: Utilize tools like Table Builder for data management and create flowcharts for algorithm planning, simplifying the visualization of application processes.
- Testing Practices: Conduct thorough testing with various data inputs to ensure your application handles different scenarios effectively.
- Documentation: Comprehensive documentation is crucial for assisting future developers and end-users in understanding and using the application effectively.
Key Outcomes
By following these guidelines, ServiceNow customers can confidently develop applications that meet their specific needs, enhance user experiences, and ensure maintainability over time. Proper planning and documentation will mitigate future challenges, allowing for smooth application operation and user satisfaction. Whether extending existing applications or creating new ones, understanding this process is vital for achieving desired results.
Software development usually encompasses a standard set of steps. If you're new to developing applications, read on.
Your job as a developer
If you're new to developing applications, if you don't even know how to code, ServiceNow has a low-code development platform called App Engine Studio that makes creating an application possible for you. Development might be new waters for you to swim in but you will find the low-code tools easy to use. So, don't be shy about developing an app!
Software developers do many things but what they have in common is solving problems using computer code. ServiceNow offers coding platforms that require no coding experience, mid-level coding experience, and expert coding experience. The less coding required, the more work the coding platform does for you. So, even experienced software developers will appreciate low- and mid-level coding platforms, such as App Engine Studio.
Software development life cycle
- Define the problem.
- Plan the solution.
- Code the solution.
- Test the application.
- Deploy the application.
- Document the application.
These steps are commonly referred to as the software development life cycle. ServiceNow developer documentation is grouped according to these steps.
Do you really need to create a new application
- Can you extend an existing application instead of creating a new one?
- How many people will the application serve? If not many, is it worth the effort?
- Are you willing to maintain the application as things change over time?
- How often will anyone use this application? If not often, is it worth the effort?
If creating a new application makes sense, then move forward!
Defining the problem
- Desired application output
- Data going into the application
The desired output might be a dashboard, data stored in a table, or a piece of equipment being sent to an employee. Before you decide on the output, show a mockup of your output to a lot of people to see if they can suggest improvements to the output. Do not skip this step.
Planning the solution
There are various ways to create an algorithm that produces the output you want. The easiest methodology is to use a flowchart that starts with the input data and shows each step in the process that leads to the output. Using a flowchart enables you to focus on the big picture of what you want to do and avoid how to do it. Look at your flowchart critically to optimize the process.
You may need to get permissions to use tables of data or even permission to create an application. For example, citizen developers are granted app development permissions through App Engine Management Center.
For more information about ServiceNow planning tools, see Planning your application.
Coding the application
- Low-code ServiceNow tools, such as App Engine Studio
- Pro-code ServiceNow tools, such as ServiceNow Studio
Testing your application
Testing your application requires inputting data to make sure the outcome is accurate. It is important to input a lot of data, even incorrect data, to see how well your application handles correct and incorrect inputs. Put in data that is too large or the wrong type. Put in no data at all. Try to break your application to prevent your users from doing so. Handling error conditions gracefully is critical for a good customer experience.
For more information about ServiceNow testing tools, see Testing and debugging applications.
Deploying your application
Now that you've tested your application, it's time to deploy it so customers can use it. Application deployment is done by system administrators not developers.
For information about ServiceNow deployment tools, see Deploying applications.
Maintaining your application
Maintaining the application deals with issues such as overloading a server, application errors, and feature updates. Accounting for feature updates is a developer's job. Seeing how well an application is working is a system administrator's job.
For more information about ServiceNow tools that help you maintain your application, see Maintaining your application.
Documenting your application
- Internal notes help other developers work on your application. It takes a lot of time to figure out the reasoning behind programming decisions and methodology. Documenting those helps future developers maintain your application.
- Users need to know how to use your application. As transparent as you believe the application is, you will find many people who get frustrated trying to use it. Do a usability test on your application and documentation to see where users run into problems. The broader the audience, the more important the application, the more important the documentation. Consider using an experienced technical writer to write the documentation.