SlideShare une entreprise Scribd logo
1  sur  24
Web Development
Basic Steps in the development of the program
WebDevelopment
PHP
Software Design
WordPressEssentials
• Computer program is the art…!
• Development of a solution to an identified
problem.
• Series of instructions which when directed
through computer hardware will produce
• the desired results.
Basic Steps
1. Define the problem.
2. Outline the solution.
3. Develop the outline into algorithm.
4. Test the algorithm.
5. Code the algorithm into specific programming language, or
merge it with the existing system.
6. Run the program.
7. Document and maintain the program.
WordPressEssentials
1- Define the problem
WordPressEssentials
1. The input.
2. The output.
3. The processing steps to produce the required outputs.
2- Outline the solution
WordPressEssentials
Break the problem into smaller tasks or steps and establish an
outline solution.
May includes:
• The major processing steps.
• The major subtasks.
• The major Control Structures.
• The major variables and records.
• Mainline logic.
• May include structure chart.
3-develop the outline into algorithm.
4- Test the Algorithm for errors.
5-code the algorithm in the specific
programming language.
WordPressEssentials
6- Run the program
WordPressEssentials
Search For Logic errors and make enhancements
to your program functionalities.
Well designed program make this step easy.
7- Document & Maintain
WordPressEssentials
Ongoing Task From the initial definition of the
problem to the final test results.
Both external doc , hierarchy charts, Data results &
internal doc.
WebDevelopment
Different types of errors that can occur
when writing a program.
Compilation errors
Are errors that prevent your program from
running.
When you run a program, (Consider scribing languages)
programming language compiles your code into
a binary language that the computer
understands. If the compiler comes across code
that it does not understand, it issues a compiler
error.Most compiler errors are caused by mistakes that you make when typing code.
misspell a keyword, leave out some necessary punctuation, or try to use an End
If statement without first using an If statement.
WebDevelopment
Run Time Error
WebDevelopment
Are errors that occur while your program
runs. These typically occur when your
program attempts an operation that is
impossible to carry out.
The program must run in order for this error to be detected, and run
only if it comes with a valid value.
When a run-time error does occur, you can use the debugging tools if
exists to determine the cause.
Logic Errors
WebDevelopment
Are errors that prevent your program from
doing what you intended it to do. Your code
may compile and run without error, but the
result of an operation may produce a result that
you did not expect.
For example, you might have a variable named FirstName that is initially set to a
blank string. Later in your program, you might concatenate FirstName with
another variable named LastName to display a full name. If you forgot to assign
a value to FirstName, only the last name would be displayed, not the full name
as you intended.
what is an algorithm…?
An algorithm is like a recipe ‫وصفة‬ it lists the
steps or orders necessary to get the desired
output.
I like to call it a Punch of code warp together
inside Computer memory.
WordPressEssentials
Problem-solving operations
Formula for solving a problem.
Algorithm
Perform calculation.
Data processing.
Automation.
Read environmental variables.
Convert signal type.
WordPressEssentials
Structured Programming
 Top – down development.
 Outline the general solution then create steps and break mission
in to parts.
 Modular design.
 Grouping tasks together because they perform the same function
WordPressEssentials
Errors free code
Code Efficiency
WordPressEssentials
Be
A Better Coder
Developing and algorithm
Define the problem.
Designing a solution algorithm.
Checking the solution algorithm. ->(master lang)
WordPressEssentials
General Considerations
Define the problem.
 Carefully reading and rereading the problem until you
understand completely what is required.
 Input: a list of the source data provided to the problem.
 Output: a list of the output required.
 Processing: a list of actions needed to produce the required
output.
WordPressEssentials
General Considerations
Variables
Actors of your Movie
WordPressEssentials
Meaningful names
Carefully select data type
Dig …?
Desk checking
Create setting points and assign its input variables.
Choose simple input which are valid, two or three cases will be
sufficient.
Establish what the expected results should be for each test.
Make table of variables (variable name, data type , stored data)
Results match the setting points.
WordPressEssentials
Six simple steps
Example
 A program is required to read the length and width of a
rectangular house block and the length and width of the
rectangular house building.
 You have to compute the time to cut the grass around the
house at the rate of two square meters per minutes.
WordPressEssentials
Calculate Mowing time
Solution
1. Calculate mowing time.
2. Prompt operator for block length and
width.
3. Get block length & width.
4. Prompt the operator to input building
length & width.
5. Get All required Inputs.
6. Calculate mowing area.
7. Divide mowing area by 2.
8. Print results in minutes.
WordPressEssentials
References
Engsaad_aly@hotmail.com
WordPressEssentials
https://msdn.microsoft.com/en-us/library/s9ek7a19(v=vs.90).aspx
Simple programming design Thomas nelson edition
Answers…?
 Be sure that your code in Human readable format.
 Document everything.
 Create backups (WP files & Database).
 Update Your WordPress Website & Keep your WordPress
secured.
WordPressEssentials

Contenu connexe

Tendances (20)

Php introduction
Php introductionPhp introduction
Php introduction
 
Php Ppt
Php PptPhp Ppt
Php Ppt
 
PHP
PHPPHP
PHP
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php hypertext pre-processor
Php   hypertext pre-processorPhp   hypertext pre-processor
Php hypertext pre-processor
 
Php(report)
Php(report)Php(report)
Php(report)
 
Php tutorial
Php  tutorialPhp  tutorial
Php tutorial
 
PHP Tutorials
PHP TutorialsPHP Tutorials
PHP Tutorials
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
Php intro
Php introPhp intro
Php intro
 
Last train to php 7
Last train to php 7Last train to php 7
Last train to php 7
 
PHP slides
PHP slidesPHP slides
PHP slides
 
Php tutorial(w3schools)
Php tutorial(w3schools)Php tutorial(w3schools)
Php tutorial(w3schools)
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
PHP .ppt
PHP .pptPHP .ppt
PHP .ppt
 
PHP
PHPPHP
PHP
 
Php
PhpPhp
Php
 
Php mysql
Php mysqlPhp mysql
Php mysql
 
PHP NOTES FOR BEGGINERS
PHP NOTES FOR BEGGINERSPHP NOTES FOR BEGGINERS
PHP NOTES FOR BEGGINERS
 
PHP complete reference with database concepts for beginners
PHP complete reference with database concepts for beginnersPHP complete reference with database concepts for beginners
PHP complete reference with database concepts for beginners
 

Similaire à Software Design

Chelberg ptcuser 2010
Chelberg ptcuser 2010Chelberg ptcuser 2010
Chelberg ptcuser 2010Clay Helberg
 
javabasics_ programming development chapter01
javabasics_ programming development chapter01javabasics_ programming development chapter01
javabasics_ programming development chapter01Udeshg90
 
Program logic and design
Program logic and designProgram logic and design
Program logic and designChaffey College
 
debugging (1).ppt
debugging (1).pptdebugging (1).ppt
debugging (1).pptjerlinS1
 
An important characteristic of a test suite that is computed by a dynamic ana...
An important characteristic of a test suite that is computed by a dynamic ana...An important characteristic of a test suite that is computed by a dynamic ana...
An important characteristic of a test suite that is computed by a dynamic ana...jeyasrig
 
VISUAL_BASIC_LECTURE_NOTE_A_Z_MADE_EASY.pdf
VISUAL_BASIC_LECTURE_NOTE_A_Z_MADE_EASY.pdfVISUAL_BASIC_LECTURE_NOTE_A_Z_MADE_EASY.pdf
VISUAL_BASIC_LECTURE_NOTE_A_Z_MADE_EASY.pdfNALANDACSCCENTRE
 
LabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docx
LabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docxLabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docx
LabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docxDIPESH30
 
C programming for Computing Techniques
C programming for Computing TechniquesC programming for Computing Techniques
C programming for Computing TechniquesAppili Vamsi Krishna
 
Computer and programming language
Computer and programming languageComputer and programming language
Computer and programming languageXad Kuain
 
The pragmatic programmer
The pragmatic programmerThe pragmatic programmer
The pragmatic programmerLeylimYaln
 
Cis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programmingCis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programmingHamad Odhabi
 
Code Review Looking for a vulnerable code. Vlad Savitsky.
Code Review Looking for a vulnerable code. Vlad Savitsky.Code Review Looking for a vulnerable code. Vlad Savitsky.
Code Review Looking for a vulnerable code. Vlad Savitsky.DrupalCampDN
 
(Prog213) (introduction to programming)v1
(Prog213) (introduction to programming)v1(Prog213) (introduction to programming)v1
(Prog213) (introduction to programming)v1Aaron Angeles
 
The Art Of Debugging
The Art Of DebuggingThe Art Of Debugging
The Art Of Debuggingsvilen.ivanov
 

Similaire à Software Design (20)

Chelberg ptcuser 2010
Chelberg ptcuser 2010Chelberg ptcuser 2010
Chelberg ptcuser 2010
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
 
javabasics_ programming development chapter01
javabasics_ programming development chapter01javabasics_ programming development chapter01
javabasics_ programming development chapter01
 
Debbuging
DebbugingDebbuging
Debbuging
 
Program logic and design
Program logic and designProgram logic and design
Program logic and design
 
debugging (1).ppt
debugging (1).pptdebugging (1).ppt
debugging (1).ppt
 
An important characteristic of a test suite that is computed by a dynamic ana...
An important characteristic of a test suite that is computed by a dynamic ana...An important characteristic of a test suite that is computed by a dynamic ana...
An important characteristic of a test suite that is computed by a dynamic ana...
 
VISUAL_BASIC_LECTURE_NOTE_A_Z_MADE_EASY.pdf
VISUAL_BASIC_LECTURE_NOTE_A_Z_MADE_EASY.pdfVISUAL_BASIC_LECTURE_NOTE_A_Z_MADE_EASY.pdf
VISUAL_BASIC_LECTURE_NOTE_A_Z_MADE_EASY.pdf
 
LabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docx
LabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docxLabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docx
LabsLab8.htmlLab 8 Im Thinking of a NumberBefore yo.docx
 
How java works
How java worksHow java works
How java works
 
How java works
How java worksHow java works
How java works
 
C programming for Computing Techniques
C programming for Computing TechniquesC programming for Computing Techniques
C programming for Computing Techniques
 
Computer and programming language
Computer and programming languageComputer and programming language
Computer and programming language
 
The pragmatic programmer
The pragmatic programmerThe pragmatic programmer
The pragmatic programmer
 
TDD Best Practices
TDD Best PracticesTDD Best Practices
TDD Best Practices
 
01 Programming Fundamentals.pptx
01 Programming Fundamentals.pptx01 Programming Fundamentals.pptx
01 Programming Fundamentals.pptx
 
Cis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programmingCis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programming
 
Code Review Looking for a vulnerable code. Vlad Savitsky.
Code Review Looking for a vulnerable code. Vlad Savitsky.Code Review Looking for a vulnerable code. Vlad Savitsky.
Code Review Looking for a vulnerable code. Vlad Savitsky.
 
(Prog213) (introduction to programming)v1
(Prog213) (introduction to programming)v1(Prog213) (introduction to programming)v1
(Prog213) (introduction to programming)v1
 
The Art Of Debugging
The Art Of DebuggingThe Art Of Debugging
The Art Of Debugging
 

Plus de Spy Seat

Kazdoura & Luciano Jan – Aug 2016 Cost Analysis
Kazdoura & Luciano  Jan – Aug 2016 Cost AnalysisKazdoura & Luciano  Jan – Aug 2016 Cost Analysis
Kazdoura & Luciano Jan – Aug 2016 Cost AnalysisSpy Seat
 
Visual Basic 6 Data Base
Visual Basic 6 Data BaseVisual Basic 6 Data Base
Visual Basic 6 Data BaseSpy Seat
 
Visual Basic ADO
Visual Basic ADOVisual Basic ADO
Visual Basic ADOSpy Seat
 
Visual basic 6
Visual basic 6Visual basic 6
Visual basic 6Spy Seat
 
Create Contacts program with VB.Net
Create Contacts program with VB.NetCreate Contacts program with VB.Net
Create Contacts program with VB.NetSpy Seat
 
Create Your first website
Create Your first websiteCreate Your first website
Create Your first websiteSpy Seat
 
How Computer work
How Computer workHow Computer work
How Computer workSpy Seat
 
visual basic 6 Add Merlin
visual basic 6 Add Merlin visual basic 6 Add Merlin
visual basic 6 Add Merlin Spy Seat
 
My Bachelor project slides
My Bachelor project slides My Bachelor project slides
My Bachelor project slides Spy Seat
 
Difference between asp and php
Difference between asp and phpDifference between asp and php
Difference between asp and phpSpy Seat
 
Error handling
Error handlingError handling
Error handlingSpy Seat
 
I/O PHP Files and classes
I/O PHP Files and classesI/O PHP Files and classes
I/O PHP Files and classesSpy Seat
 
Php session 3 Important topics
Php session 3 Important topicsPhp session 3 Important topics
Php session 3 Important topicsSpy Seat
 
Notify progresscontrol
Notify progresscontrolNotify progresscontrol
Notify progresscontrolSpy Seat
 
Listbox+checkedlistbox
Listbox+checkedlistboxListbox+checkedlistbox
Listbox+checkedlistboxSpy Seat
 
If then vs select case
If then vs select caseIf then vs select case
If then vs select caseSpy Seat
 
If then vb2010
If then vb2010If then vb2010
If then vb2010Spy Seat
 
Date & time picker
Date & time pickerDate & time picker
Date & time pickerSpy Seat
 

Plus de Spy Seat (20)

Kazdoura & Luciano Jan – Aug 2016 Cost Analysis
Kazdoura & Luciano  Jan – Aug 2016 Cost AnalysisKazdoura & Luciano  Jan – Aug 2016 Cost Analysis
Kazdoura & Luciano Jan – Aug 2016 Cost Analysis
 
Visual Basic 6 Data Base
Visual Basic 6 Data BaseVisual Basic 6 Data Base
Visual Basic 6 Data Base
 
Visual Basic ADO
Visual Basic ADOVisual Basic ADO
Visual Basic ADO
 
Visual basic 6
Visual basic 6Visual basic 6
Visual basic 6
 
Create Contacts program with VB.Net
Create Contacts program with VB.NetCreate Contacts program with VB.Net
Create Contacts program with VB.Net
 
Create Your first website
Create Your first websiteCreate Your first website
Create Your first website
 
How Computer work
How Computer workHow Computer work
How Computer work
 
visual basic 6 Add Merlin
visual basic 6 Add Merlin visual basic 6 Add Merlin
visual basic 6 Add Merlin
 
My Bachelor project slides
My Bachelor project slides My Bachelor project slides
My Bachelor project slides
 
Difference between asp and php
Difference between asp and phpDifference between asp and php
Difference between asp and php
 
Error handling
Error handlingError handling
Error handling
 
I/O PHP Files and classes
I/O PHP Files and classesI/O PHP Files and classes
I/O PHP Files and classes
 
Php session 3 Important topics
Php session 3 Important topicsPhp session 3 Important topics
Php session 3 Important topics
 
Notify progresscontrol
Notify progresscontrolNotify progresscontrol
Notify progresscontrol
 
Listbox+checkedlistbox
Listbox+checkedlistboxListbox+checkedlistbox
Listbox+checkedlistbox
 
If then vs select case
If then vs select caseIf then vs select case
If then vs select case
 
If then vb2010
If then vb2010If then vb2010
If then vb2010
 
For next
For nextFor next
For next
 
Date & time picker
Date & time pickerDate & time picker
Date & time picker
 
Combo box
Combo boxCombo box
Combo box
 

Dernier

What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 

Dernier (20)

What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 

Software Design

  • 1. Web Development Basic Steps in the development of the program WebDevelopment PHP Software Design
  • 2. WordPressEssentials • Computer program is the art…! • Development of a solution to an identified problem. • Series of instructions which when directed through computer hardware will produce • the desired results.
  • 3. Basic Steps 1. Define the problem. 2. Outline the solution. 3. Develop the outline into algorithm. 4. Test the algorithm. 5. Code the algorithm into specific programming language, or merge it with the existing system. 6. Run the program. 7. Document and maintain the program. WordPressEssentials
  • 4. 1- Define the problem WordPressEssentials 1. The input. 2. The output. 3. The processing steps to produce the required outputs.
  • 5. 2- Outline the solution WordPressEssentials Break the problem into smaller tasks or steps and establish an outline solution. May includes: • The major processing steps. • The major subtasks. • The major Control Structures. • The major variables and records. • Mainline logic. • May include structure chart.
  • 6. 3-develop the outline into algorithm. 4- Test the Algorithm for errors. 5-code the algorithm in the specific programming language. WordPressEssentials
  • 7. 6- Run the program WordPressEssentials Search For Logic errors and make enhancements to your program functionalities. Well designed program make this step easy.
  • 8. 7- Document & Maintain WordPressEssentials Ongoing Task From the initial definition of the problem to the final test results. Both external doc , hierarchy charts, Data results & internal doc.
  • 9. WebDevelopment Different types of errors that can occur when writing a program.
  • 10. Compilation errors Are errors that prevent your program from running. When you run a program, (Consider scribing languages) programming language compiles your code into a binary language that the computer understands. If the compiler comes across code that it does not understand, it issues a compiler error.Most compiler errors are caused by mistakes that you make when typing code. misspell a keyword, leave out some necessary punctuation, or try to use an End If statement without first using an If statement. WebDevelopment
  • 11. Run Time Error WebDevelopment Are errors that occur while your program runs. These typically occur when your program attempts an operation that is impossible to carry out. The program must run in order for this error to be detected, and run only if it comes with a valid value. When a run-time error does occur, you can use the debugging tools if exists to determine the cause.
  • 12. Logic Errors WebDevelopment Are errors that prevent your program from doing what you intended it to do. Your code may compile and run without error, but the result of an operation may produce a result that you did not expect. For example, you might have a variable named FirstName that is initially set to a blank string. Later in your program, you might concatenate FirstName with another variable named LastName to display a full name. If you forgot to assign a value to FirstName, only the last name would be displayed, not the full name as you intended.
  • 13. what is an algorithm…? An algorithm is like a recipe ‫وصفة‬ it lists the steps or orders necessary to get the desired output. I like to call it a Punch of code warp together inside Computer memory. WordPressEssentials Problem-solving operations Formula for solving a problem.
  • 14. Algorithm Perform calculation. Data processing. Automation. Read environmental variables. Convert signal type. WordPressEssentials
  • 15. Structured Programming  Top – down development.  Outline the general solution then create steps and break mission in to parts.  Modular design.  Grouping tasks together because they perform the same function WordPressEssentials Errors free code
  • 17. Developing and algorithm Define the problem. Designing a solution algorithm. Checking the solution algorithm. ->(master lang) WordPressEssentials General Considerations
  • 18. Define the problem.  Carefully reading and rereading the problem until you understand completely what is required.  Input: a list of the source data provided to the problem.  Output: a list of the output required.  Processing: a list of actions needed to produce the required output. WordPressEssentials General Considerations
  • 19. Variables Actors of your Movie WordPressEssentials Meaningful names Carefully select data type Dig …?
  • 20. Desk checking Create setting points and assign its input variables. Choose simple input which are valid, two or three cases will be sufficient. Establish what the expected results should be for each test. Make table of variables (variable name, data type , stored data) Results match the setting points. WordPressEssentials Six simple steps
  • 21. Example  A program is required to read the length and width of a rectangular house block and the length and width of the rectangular house building.  You have to compute the time to cut the grass around the house at the rate of two square meters per minutes. WordPressEssentials Calculate Mowing time
  • 22. Solution 1. Calculate mowing time. 2. Prompt operator for block length and width. 3. Get block length & width. 4. Prompt the operator to input building length & width. 5. Get All required Inputs. 6. Calculate mowing area. 7. Divide mowing area by 2. 8. Print results in minutes. WordPressEssentials
  • 24. Answers…?  Be sure that your code in Human readable format.  Document everything.  Create backups (WP files & Database).  Update Your WordPress Website & Keep your WordPress secured. WordPressEssentials