HTML CSS PHP Python Flask Physics Chemistry Visual Art Blog Research more...

TEA Blog

CRAFT OR ART: PICK ONE

Posted by: Benjamin Onuorah


All art contains elements of craft.
All crafts contain elements art.
You may describe craft as the technical process of creativity.
You may define art as the intellectual and imaginative aspect of creativity.
If the craft or technical content outweighs the intellectual conceptualization, the finished work looks immediately showy but it is lacking in depth.
If the intellectual aspect is bereft of adequate technical proficiency, the finished work looks unfinished and uninviting.
When the intellectual input and the technical process find a balance in a work of art, the result elevates both the artist and the audience.
The artist is the wonderworker that doctors and heals the heart and head of the community.
A community that bans, cuts, or underrates art will need to train more psychiatrists to medicate the people with drugs, as the society succumbs to mass mental health impairments.
Make and promote more art, and you need less soldiers and police.
Forbid art, and you need to invest in war arsenal and massive policing.


Professor Moyo Okediji


Source: https://m.facebook.com/story.php?story_fbid=9888457007833556&id=100000080640719... [Continue Reading]


CRAFT OR ART: PICK ONE
I have read many books in my life but...
Sophisticated Simplicity: Lessons from My Father (Part I) - Saheed Aderinto
Zhong Quanbin: Art meet science
Anytime you try to teach the subjects without teachers who love the subject, it is doomed to failure and is a foolish thing to do.
When I taught creative writing
Okebukola lauds Nigeria’s role in global AI revolution
Nigeria to open first AI university in Epe, Lagos
Amara's review of "Civilized to Death"
Tyrone Hayes: Endocrine disruption, environmental justice and the ivory tower
More Blog
Lessons

Render Templates in Flask

Course: Flask: Python Web Development
Number of topics: 16
Category: Programming

With time you will find it more convenient to separate your frontend code (HTML, CSS, JS) from your backend code (Python and Flask) because it can easily get messy as your project grows.

You may already have your web pages designed with HTML and CSS so Flask comes with Jinja template to allow your app to pass and receive data from your flask (backend) application and this frontend web pages, this is known as "separation of concern".

Templates and Static folder
Flask expect us to create some folders with some specific names to handle the structure of our ... [Continue Reading]


Introduction to PHP

Course: Web development using PHP and MySQL
Number of topics: 27
Category: Programming

PHP (Hypertext Preprocessor) is a widely-used open-source server-side scripting language that is especially suited for web development and can be embedded into HTML. It is great for creating dynamic web pages and is commonly used for building websites and web applications. PHP code is executed on the server, generating HTML which is then sent to the client's web browser. PHP can also do things like create cookies, manage sessions, and interact with databases, making it a powerful tool for web development.... [Continue Reading]


PHP Data Type

Course: Web development using PHP and MySQL
Number of topics: 27
Category: Programming

Variables can store or hold data of different types such as String, Integer, Float or double, Boolean, Array.

String is a sequence of characters or any text inside single or double quotes.

Example 1

<?php
$name="Ben Onuorah";
$msg="Welcome to my site";
print "$name <br/> $msg";
?>


Integer data type is a non-decimal number between -2,147,483,648 and 2,147,483,647.

Example 2

<?php
$price=15000;
?>


Float is a number with a decimal point or in exponentia... [Continue Reading]


PHP Array

Course: Web development using PHP and MySQL
Number of topics: 27
Category: Programming

Array is a special variable, which can hold more than one value at a time. This is a more convenience way to handle a collection of defined data and we often use a loop to access array data.

Example 1

<?php
$state = array("Anambra", "Lagos", "Kaduna", "Edo");
?>


Accessing Array Value with index
Note: an array index is the way we access array values, and this index numbering start from 0 and not 1, therefore the $state array we created has 4 elements with their index as follows (Anambra[0], Lagos[1], Kaduna[2], Edo[3]
<... [Continue Reading]


Conceptions of Philosophy

Course: GST 102
Number of topics: 17
Category: Business

You are expected to read all the pages... [Continue Reading]


Authentication web application

Course: Web development using PHP and MySQL
Number of topics: 27
Category: Programming

Authentication is fairly common in web technology this days, where web-based application are becoming widely use by different categories of users, for example you may have a web application that grant certain privilege to a particular user, such as Top level management or Administrative staff and deny low-level staff such as supervisor or marketer some of this administrative privileges.

If my example is too corporate, let’s take facebook for an example, it is authentication that allow facebook to secure your account, using the registration and login you did, to track and manage ... [Continue Reading]


Form processing using PHP

Course: Web development using PHP and MySQL
Number of topics: 27
Category: Programming

Create a simple form in the index.php page with the code:

index.php

<HTML>
<HEAD>
<TITLE> Testing PHP </TITLE>
</HEAD>
<BODY>
<form method="post" action="process.php">
  <input type="text" name="country" >
  <input type="submit" name="button" value="Submit">
</form>
<p>
<?php
print "Today's date is: ". date('d-m-y');
?
</p>
</BODY>
</HTML>


Note:
The method="post", this indicates the method we want the form to use in submitting its data, therefore we have to use the PHP $_POST special variable to access its data likewise.
[Continue Reading]


PHP Operators

Course: Web development using PHP and MySQL
Number of topics: 27
Category: Programming

Operators are used to perform operations on variables and values. Some common operators are:
1. Assignment
2. Arithmetic
3. Comparison
4. Increment/Decrement
5. Logical
6. String... [Continue Reading]


See all courses



  • Artist on focus

    Twins seven seven

    Twins Seven Seven, born Omoba Taiwo Olaniyi Oyewale-Toyeje Oyelale Osuntoki (3 May 1944 – 16 June 2011) was a Nigerian painter, sculptor and musician. He was an itinerant singer and dancer before he began his career as an artist, first attending in 1964 an Mbari Mbayo workshop conducted by Ulli Beier and Georgina Beier in Osogbo. Twins Seven Seven went on to become one of the best known artists ... [Continue Reading]


  • More Artists on Focus


    Sodus Bay Watch
    Category: Science
    Number of topics: 1
    Posted by: April Luehmann

    Statistic Made Easy by Prof. Peter A. Okebukola
    Category: Science
    Number of topics: 1
    Posted by: Benjamin Onuorah

    LearnKids- Science, Technology, Engineering, Arts, and Mathematics (STEAM)
    Category: Science
    Number of topics: 0
    Posted by: Benjamin Onuorah

    C# Programming Course
    Category: Programming
    Number of topics: 2
    Posted by: Benjamin Onuorah

    Mendelian Inheritance
    Category: Science
    Number of topics: 0
    Posted by: SANKOH MOHAMED AKIM

    Making the Most of Life: A Journey to Purpose
    Category: Business
    Number of topics: 7
    Posted by: David Mba

    General African Studies (GST 201)
    Category: Business
    Number of topics: 1
    Posted by: David Mba

    GST 102
    Category: Business
    Number of topics: 17
    Posted by: David Mba

    Use of English
    Category: Arts
    Number of topics: 0
    Posted by: Samson Dawodu Abiodun

    African Artists and Drawing
    Category: Arts
    Number of topics: 8
    Posted by: Benjamin Onuorah

    Flask: Python Web Development
    Category: Programming
    Number of topics: 16
    Posted by: Benjamin Onuorah

    Chemistry with Dr. Anita
    Category: Science
    Number of topics: 10
    Posted by: Sir John Jollynery

    Physics
    Category: Science
    Number of topics: 17
    Posted by: Sir John Jollynery

    Programming (Pdf Materials)
    Category: Programming
    Number of topics: 2
    Posted by: Benjamin Onuorah

    Programming (Video Materials)
    Category: Programming
    Number of topics: 1
    Posted by: Benjamin Onuorah

    Web development using PHP and MySQL
    Category: Programming
    Number of topics: 27
    Posted by: Benjamin Onuorah

    Python Programming
    Category: Programming
    Number of topics: 11
    Posted by: Benjamin Onuorah

    Styling (Beautify) Website
    Category: Programming
    Number of topics: 2
    Posted by: Benjamin Onuorah

    Introduction to HTML and Web Technology
    Category: Programming
    Number of topics: 8
    Posted by: Benjamin Onuorah