G12-ProblemAnalysis
G12-ProblemAnalysis
Database:
A database is an organized collection of data, so that it can be easily
accessed and managed. You can organize data into tables, rows, columns, and
index it to make it easier to find relevant information. Database handlers create
a database in such a way that only one set of software program provides access
of data to all the users.
The main purpose of the database is to operate a large amount of information
by storing, retrieving, and managing data. There are many dynamic websites
on the World Wide Web nowadays which are handled through databases. For
example, a model that checks the availability of rooms in a hotel. It is an
example of a dynamic website that uses a database. There are many databases
available like MySQL, Sybase, Oracle, MongoDB, Informix, PostgreSQL,
SQL Server, etc. Modern databases are managed by the database management
system (DBMS).SQL or Structured Query Language is used to operate on the
data stored in a database. SQL depends on relational algebra and tuple
relational calculus. For this project, we have used MySQL database.
MySQL Database:
Editor-
Editors or text editors are software programs that enable the user to create and
edit text files. In the field of programming, the term editor usually refers to source
code editors that include many special features for writing and editing code.
Notepad, Wordpad are some of the common editors used on Windows OS and vi,
emacs, Jed, pico are the editors on UNIX OS. Features normally associated with
text editors are — moving the cursor, deleting, replacing, pasting, finding, finding
and replacing, saving etc.
For this Project we have used Sublime VS Code.
VSCode-
Visual Studio Code, also commonly referred to as VS Code, is a source-code
editor made by Microsoft with the Electron Framework, for Windows, Linux and
macOS. Features include support for debugging, syntax highlighting, intelligent code
completion, snippets, code refactoring, and embedded Git. Users can change the
theme, keyboard shortcuts, preferences, and install extensions that add additional
functionality.
In the Stack Overflow 2021 Developer Survey, Visual Studio Code was ranked
the most popular developer environment tool among 82,000 respondents, with 70%
reporting that they use it. Visual Studio Code is a source-code editor that can be used
with a variety of programming languages, including C#, Java, JavaScript, Go, Node.js,
Python, C++, C, Rust and Fortran. It is based on the Electron framework, which is
used to develop Node.js web applications that run on the Blink layout engine. Visual
Studio Code employs the same editor component (codenamed "Monaco") used in
Azure DevOps (formerly called Visual Studio Online and Visual Studio Team
Services).
Out of the box, Visual Studio Code includes basic support for most common
programming languages. This basic support includes syntax highlighting, bracket
matching, code folding, and configurable snippets. Visual Studio Code also ships with
IntelliSense for JavaScript, TypeScript, JSON, CSS, and HTML, as well as debugging
support for Node.js. Support for additional languages can be provided by freely
available extensions on the VS Code Marketplace.
PHP-
When we talk about a stack, we're talking about the operating system, web server,
PHP, and anything PHP consumes or interacts with, including databases, queues,
caches, APIs, and more. Stacks differ based on whether you're in development,
continuous integration (CI), or production, with each posing its own needs and
challenges.
What is PHP?
● PHP files can contain text, HTML, CSS, JavaScript, and PHP code
● PHP code is executed on the server, and the result is returned to the browser as
plain HTML
● PHP files have extension ".php"
With PHP you are not limited to output HTML. You can output images, PDF files, and
even Flash movies. You can also output any text, such as XHTML and XML.
HTML provides the basic structure of sites, which is enhanced and modified by other
HTML is at the core of every web page, regardless the complexity of a site or number
of technologies involved. It's an essential skill for any web professional. It's the starting
point for anyone learning how to create content for the web. And, luckily for us, it's
surprisingly easy to learn.
CSS-
CSS stands for Cascading Style Sheets. This programming language dictates how the
HTML elements of a website should actually appear on the frontend of the page.
JavaScript-
JavaScript is a more complicated language than HTML or CSS, and it wasn't released
in beta form until 1995. Nowadays, JavaScript is supported by all modern web browsers
and is used on almost every site on the web for more powerful and complex functionality.
User’s view- Users expect our system to display candidates who have
submitted applications for favourable elections. The user should be able to see
the candidates' bios and cast their vote accordingly.
if(isset($_POST['login'])){
$voter = $_POST['voter'];
$password = $_POST['password'];
}
else{
$_SESSION['error'] = 'Input voter credentials first';
}
header('location: index.php');
?>