/Open4Tech Team

About Open4Tech Team

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

Good Practices for Using Cookies

When cookies first appeared in 1994, they were completely allowed by browsers and their usage depended entirely on what developers had in mind. However, a few years after that, due to concerns about privacy and tracking, web developers were advised to obey some practices that make cookie usage safer. Nowadays, some practices are even required [...]

By |2019-06-16T21:57:14+03:00June 17th, 2019|Categories: Explained Simply|0 Comments

Authentication and Authorization, Usage in ASP .NET

Authentication and Authorization are two main security processes used in various applications. Although they are often confused by some users, they possess major differences between each other. Authentication Authentication is a process of confirming the user's identity in order to grant this user access to protected resources. Usually, the user needs to enter a username [...]

By |2019-06-09T21:40:07+03:00June 10th, 2019|Categories: C#|0 Comments

User Controls in ASP .NET

A good practice in ASP .NET and in programming in general is to divide the code into reusable blocks. This is applicable to HTML code too. In ASP .NET it is achieved by creating User Controls.User controls look similar to web forms. They contain HTML and control tags, they are saved in .ascx files and [...]

By |2019-05-17T22:22:34+03:00May 27th, 2019|Categories: C#|Tags: |0 Comments

Cookies in ASP .NET

Cookies are small files that are stored either on the user's hard drive or in the browser's memory. Their main purpose is to keep information for later so it can be used for more personalised browsing experience for example.Their simplicity makes them useful long time storage on a variety of applications. However, being simple text [...]

By |2019-05-18T22:47:19+03:00April 29th, 2019|Categories: C#|Tags: |0 Comments

Remove Scripts And Styles In WordPress

WordPress provides dequeuing and deregistering functions for both scripts and styles. This is very useful for reducing the potential of conflicts with plugins and load time. wp_deregister_script()wp_deregister_style()wp_dequeue_script()wp_dequeue_style() Each of these four functions accepts only one parameter: $handle – the unique name of the script or stylesheet you want to deregister or dequeue. They allow us [...]

By |2019-05-18T22:47:32+03:00April 22nd, 2019|Categories: WordPress|0 Comments

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-05-18T22:47:46+03:00April 15th, 2019|Categories: WordPress|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-05-18T22:48:04+03:00April 8th, 2019|Categories: WordPress|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-05-18T22:48:18+03:00April 1st, 2019|Categories: WordPress|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-05-18T22:48:31+03:00March 18th, 2019|Categories: C#|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