/Open4Tech Team

About Open4Tech Team

This author has not yet filled in any details.
So far Open4Tech Team has created 11 blog entries.

Add Styles In WordPress

Wordpress has enqueuing system which provides programmable way of loading styles. It has a built-in support for dependency management. Example: function custom_styles() { wp_register_style( 'my_stylesheet', plugins_url('my-stylesheet.css', __FILE__), array('bootstrap-main'), '1.0', 'screen'); wp_enqueue_style('my_stylesheet'); } add_action( 'wp_enqueue_scripts', 'custom_styles' ); We need to register a stylesheet to be enqueued by using a wp_register_style function. This function accepts 5 parameters: [...]

By |2019-04-07T13:44:46+03:00April 15th, 2019|Categories: How To|Tags: |0 Comments

Check If a Script Has Been Loaded In WordPress

WordPress has a function which lets us detect if a specific script has been enqueued, registered, printed, or is in the queue to be printed.  It can be very useful for avoiding conflicts with libraries which have been already loaded by other themes or plugins. wp_script_is( $handle, $list ); It accepts two parameters: $handle – [...]

By |2019-04-07T13:46:33+03:00April 8th, 2019|Categories: How To|Tags: |0 Comments

Add Scripts In WordPress

WordPress has an enqueuing system which allows developers to utilize the built-in JavaScript libraries rather than loading them multiple times. This helps avoid conflicts and reduces page load time. Example: function custom_scripts() { wp_register_script( 'my_script', plugins_url('my_script.js', __FILE__), array('jquery'), '1.0', true); wp_enqueue_script('my_script'); } add_action( 'wp_enqueue_scripts', 'custom_scripts' ); First, we need to register a script to be [...]

By |2019-04-07T13:37:52+03:00April 1st, 2019|Categories: How To|Tags: |0 Comments

Rich Controls In ASP .NET

There is no strict definition of ASP .NET rich control but generaly these are controls whose object model is largely separate from the HTML they generate. Rich controls are still handled as single objects, they only differ from normal controls in terms of more complex HTML and user interface being generated. Let's take a look [...]

By |2019-04-07T13:51:24+03:00March 18th, 2019|Categories: Explained Simply|Tags: , |0 Comments

Basic Usage of View State in ASP .NET

Web applications cause a problem that is not present on traditional applications stored on the user's PC (tablet/phone). The problem is the following: the user connects to the server and requests a page, the page is delivered, the connection is stopped and then all the page objects are deleted from the server memory. This stateless [...]

By |2019-04-07T13:55:02+03:00February 18th, 2019|Categories: How To|Tags: , |0 Comments

B-tree vs. Binary Tree

B-Trees and binary trees are both non-linear data structures and while their names may sound similar, they’re very different in nature. In this article, we will compare them to make them easier to distinguish. B-Tree B-tree is a self-balancing tree data structure in which a node can have more than two children. The height of [...]

By |2019-04-07T13:17:28+03:00February 11th, 2019|Categories: Explained Simply|Tags: , , |0 Comments

Introduction to Server Controls in ASP .NET

ASP .NET provides a new way to handle dynamic web forms. Unlike the conventional style where the developers had to adapt and improvise with HTML tags and attributes, ASP. NET server controls automatically provide their HTML structure. This allows the developers to focus just on the desired behavior. These server controls behave like objects and [...]

By |2019-04-07T13:56:18+03:00February 4th, 2019|Categories: Explained Simply|Tags: |0 Comments

BFS vs. DFS

Breadth-First Search (BFS) and Depth-First Search (DFS) are algorithms for traversing graphs. Traversal is the process of accessing each vertex (node) of a data structure in a systematic well-defined order. Choosing the algorithm depends on the type of data you are dealing with. There are generally two types of traversal and the main difference between [...]

By |2019-04-07T13:19:44+03:00January 28th, 2019|Categories: Explained Simply|Tags: , , , |0 Comments

Trees vs. Graphs

Trees and graphs are data structures used to resolve various complex problems. Knowing the difference between them is useful in terms of better understanding of the non-linear way of storing data. Definition: Trees and graphs are both abstract data structures. They are a non-linear collection of objects, which means that there is no sequence between [...]

By |2019-04-07T13:20:21+03:00January 1st, 2019|Categories: Explained Simply|Tags: , , |0 Comments
We use cookies on this site to improve our service, perform analytics and remember website preference. By using the site, you consent to these cookies (Privacy policy). I consent to cookies