Lec1 (3)
Lec1 (3)
Introduction
DA3331 - Business Application Development
Supun Gothama
Course Details
Learning Outcomes
After completing this module, the students should be able to:
1. Demonstrate Integrated Development Environments for
efficient programming
2. Explain the understanding of the modern web technologies
3. Apply version controlling for development projects
4. Develop web applications with database access and GUI
Important Stuff
• 3 Credits
• Lectures: Wednesday
• Labs/Tutorials : Wednesday
• Continuous Assessments: 100%
• No end exam
IDEs
IDEs
• An integrated development environment (IDE) is a software
for building applications
• Provides comprehensive facilities to computer programmers
for software development
• Combines common developer tools into a single graphical
user interface (GUI)
IDEs
• An IDE typically consists of at least:
− Source code editor
− Build automation tools
− Debugger
• May also have:
− Visual GUI designer
− Class/object browser
− Version control
Some Popular IDEs
• Visual Studio
• Eclipse
• VSCode
• PyCharm
• NetBeans
• Android Studio
• Xcode
Why Use IDEs?
• Speed up development
• Organize development workflows
• Reduce errors
• Ability to debug
• Improve Code quality
Features of IDEs
• Syntax highlighting
− An IDE that knows the syntax of your language can provide
visual cues
• Code completion
− IDE knows your programming language, it can suggest what
you’re going to type next
Features of IDEs
• Debugging
− Allow programmers to examine different variables and inspect
their code at run time
• Refactoring
− Restructuring existing code to improve structure, performance
and readability
• Building Executables
PyCharm
• PyCharm is an IDE specifically for the Python
language
• Available on Windows, macOS and Linux
• Community version is free
• Supports web and other developments
PyCharm
Debugging
• Code we write doesn’t always do what we expected it
to do
− Have to figure out what is wrong
− Easier and efficient to use a debugging tool, or debugger
• Debugging means to run your code step by step in a
debugging tool, to find the exact point where you made
a programming mistake
Debugging
• Break points
− A breakpoint indicates to pause your running code so you
can take a look at the values of variables
• Stepping
− Stepping is the action of telling the debugger to advance
through your program
Debugging
• Watch
− Monitor the values of variables and expressions
• Call Stack
− Tail of function calls in the program at a time
☑ IDEs
☑ Debugging
Summary