Skip to main content

Posts

Object cache problem of the AMP plugin for WordPress

If you are looking for one solution to the fix object cache problem of the WordPress AMP plugin displayed in dashboard from Site health; in this article I will show You how to do this in five minutes. Usually this situation arises when the installed theme is non an official theme and You have not cache plugin installed; anyway don't worry! We will solve the problem in a moment. Object cache problem of the AMP plugin for WordPress Why is important to enable persistent object cache for AMP  Accelerate mobile page (AMP), is latest technology of the Web. An amp page load very fast compared to to a standard Web page and Google search engine like very much this; so you can improve the ranking of your site and get more mobile users traffic. Persistent object cache If persistent object cache is enabled, WordPress work better; the images and files as CSS will loaded more fast. Every WordPress Hosting have a cache service, otherwise it would be very strange and I recommend that you cons...

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...