Skip to main content

Posts

The PHP Data Type

The PHP Data Types, like in any programming language, are the abc of computer languages, both for the Web and in the desktop environment; they. In human language we use words to form sentences; while in computer science data types are used to define the elements that make up a logical expression. The data type in PHP The variables Assigning the data type to the variables in languages like C  for example Java , also called "typed", is mandatory; this must be done explicitly! As for PHP, being a pre-compiled language, the data type is implicitly assigned when a variable is created; to find out the type of data in a variable you can use the (get type off) function of PHP. The primitive data types in PHP If you can understand the data type concept, you are halfway to becoming a good developer. The PHP primitive data types are: Integer (decimal integers) to contain a value ranging (from -2.147,483,647 to 2,147,483,647). Float or "floating point" and double; they reach ...

How to insert JavaScript into web pages

You have learned everything there is to know about HTML and CSS to start building your static website and now you would like to make it dynamic but you don't know how to insert JavaScript into web pages; right? Don't worry! Inserting the scripts into html files is really a breeze. If you read this article, in the next five minutes you will discover all the methods for inserting JavaScript into html files. How to insert JavaScript into HTML file JavaScript need HTML file to work.  Like CSS all methods of inserting JavaScript into a Web Page can be divided into two sections; add the scripts inside the TAG of  HTML file or by calling them externally. In detail we can insert JavaScript: Directly into Body of the HTML file. In the Head Tag and recall it in the body. With a relative or absolute external reference. Insert JavaScript into HTML file We will see an example of how to insert JavaScript shortly but first let's focus on when it is useful to do an explicit or implicit ...

The Java language

Initially, James Gosling 's Java language was called Oak; the lawyers pointed out that "oak" had already been recorded by others, so something else was chosen to give the language a name. The search method went from finding a suitable name for the language to one that wasn't; however time has disproved the method given Java's success. After some time, names suggested and then withdrawn, legend has it that the name Java was found in a coffee break in front of a hot and steaming cup of coffee from which the Java logo also derives. Introduction to the Java language The goal of the Java language has always been to create applications that adapt to various electronic devices; bypassing all the typical limitations of languages such as C and C ++ but maintaining the characteristics.  This choice also proved successful; because many programmers later started using the Java language, aided by their familiarity with their C background.  Networking A full range of ready-to-...

Introduction to the C language

In this introduction to the c language, I highlight characters and reference points of this programming language; which changed the world of computing, contributing uniquely to today's world.  The language was developed by Dennis Ritchie , in the Bell labs, between (1972/73) on "DEC PDP-11"; acronym for (Digital Equipment Corporation Programmed Data Processor model 11) with 16-bit architecture. It was in these labs that Ritchie ran the first program written in c.  Dennis Ritchie The c imprint derives from a development process of Martin Richards' BCPL language which influenced Ken Thomson's writing of language B. Ken Thompson and Dennis Ritchie 1973 Introduction to the C language In the early 1970s, the C language begins its path to success! Being a procedural language, it is able to integrate features of low-level languages, such as assembly; this affinity, in my opinion, makes C the middle ground between low-level and high-level languages. The C language The C l...

Introduction to the JavaScript language

In this introduction to the JavaScript language we discover one of the programming languages that has changed the concept of understanding the Web. The added value of JavaScript to the HTML code is to make the Web page dynamic in its interactions with the user. JavaScript is a client-side web programming language. Web 2.0 was born with the JavaScript language. The advantages of the JavaScript JavaScript or "JS" in its abbreviated form; is the most widely used client-side scripting language on the web. The advantage of the JavaScript is that it can be interpreted by almost all browsers; while what has allowed a strong expansion is the availability of many frameworks and libraries that can be easily integrated into scripts. The language is unique in its kind for data exchange thanks to the asynchronous AJAX (Asynchronous JavaScript and XML) functions that allow you to interact with users without reloading web pages and to exchange data in JSON (JavaScript Object Notation) for...