ShoutMeLoud – Shouters Who Inspire

Superlinks
≡ Menu

Do You Really know What WordPress is?

Do You Really know What WordPress is?

WordPress the world’s No. 1 CMS (content management system) is changing the Scenario of Blogging. 69 out of 100 Bloggers use WordPress to work at backend. It provides almost everything whatever is required for Blogging. But my main motive of writing this article is How far you know about WordPress. Here I am raising very basic question on WordPress. I hope these questions would definitely help you to enhance your knowledge on WordPress.

How WordPress manages connection pool?

The one of the main important things that every WordPress developer and blogger must know. By default the connection pool allows 30 visitors at a time. What happens if more than 30 visitors come to your website (Blog)? They will suffer from HTTP errors like HTTP 404 error or ERROR 501. So avoid this problem WordPress manages connection pool so that more than 1000 visitors can request for the same Web page on your blog.  There is one plugin you are using i.e. WP-CACHE which is used to manage this issue.

What is WordPress Architecture?

The one and very important thing of any project or any module is its architecture. Architecture is the structured design through which we come to know how modules are interconnected. If you are not aware of how the WordPress manages blog, Publish articles, handling plugins and many more than you have gained nothing from blogging. Click on the Image to enlarge.

WP 27 modules 550x317
How WordPress manages Connection string and queries?

Connection string is the key for connecting to the database. The Question here is how WordPress manages Connection string of our blog connection with Database. The answer of this query is when we install WordPress on the server .It automatically fetches the username and password and server name and generate connection string the default connection string is:

$wpdb = newwpdb(db_user, db_passwd, db_name, db_host);

After Connection string the main question is how WordPress extract our data from database. What are the Database queries used by WordPress to manage blogs.Here basic example of SELECT query is shown as an example used by WordPress to fetch Data from Database.

 php

 $querystr = "
    SELECT wposts.*
    FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta
    WHERE wposts.ID = wpostmeta.post_id
    AND wpostmeta.meta_key = 'tag'
    AND wpostmeta.meta_value = 'email'
    AND wposts.post_status = 'publish'
    AND wposts.post_type = 'post'
    ORDER BY wposts.post_date DESC
 ";
$pageposts = $wpdb->get_results($querystr, OBJECT);
  ?>

How much code of lines in WordPress?

One of the most interesting facts that you will be amazed to know is that WordPress contains more than 2,00000 lines of code. in which

  • 1,54683 lines of code are in PHP
  • 19,237 in CSS
  • 9734  in  HTML
  • 44 in XML

I hope you enjoy this basic information on WordPress. I consider this info as basic because there still lot of things to learn about WordPress. Don’t forget to bookmark and share this post.

  • Author Bio

  • Latest Post

Article by Dheeraj Bansal

Dheeraj has written 3 articles.

If you like This post, you can follow ShoutMeLoud on Twitter. Subscribe to ShoutMeLoud feed via RSS or EMAIL to receive instant updates.


TA

{ 21 comments… add one }

  • Sahil Bj

    nice post, gud representation of architecture and all the simulated about pools and error 404

    Reply
  • Bhaveek

    i never knew that wordpress is so popular. amazing article dheeraj.

    Reply
  • asif

    Very informative, Didn’t know about it and didn’t even care to digg into it. Thanks for the info.

    Reply
  • Cory Howell

    The graphic was a great visual display of how everything ties together. Thanks for sharing… helps us not so technical people understand more of the backend systems.

    Reply
  • romy singh @ SEO And Link Building Tips

    Dheeraj Very Informative article about wordpress with detailed info about wordpress…Thanks for sharing it

    Reply
  • Christopher Ross

    Fantastic graphic! Would you consider making available as a PDF download for printing? I’d love to print a poster of it for my work station.

    Reply
  • DJ Sophia

    Wow………Nice stats share……..thats really amazing…..

    Reply
  • BlinKinGhost

    Wow nice information. I didn’t know how many bloggers use WP, and 69% sounds like a big number. :)
    To answer your question (title): After reading this post, I must admit I didn’t know what WP really is. Thank for sharing xD

    Reply
  • Rajesh

    I think you have nicely explained query relationship. Thanks a lot

    Reply
  • Amol Mhetre

    Bloggers should know about the wordpress platform when we are using this !!! thanks for the posting such a helpful information with us !!

    Reply
  • Saket Jajodia

    Thanks, this helped me in understanding more about WP.. And make that image clickable so other user don’t have any prob to view that img in large..

    Reply
  • Sandeep@CuriousLittlePerson

    wow thats pretty good information about wordpress.. never looked and thought from this point of view..

    2,00000 lines of code.. phew

    Reply
  • Foam Yazdi

    Thanks Dheeraj Bansal for share it

    Reply
  • Trung @ Blogging 24 Hours

    Great information Dheeraj, thanks for share this, it make me know more about WP, the best blog platform today.

    Reply
  • gow

    Every wordpress Blogger must know this basic..:) i use blogger.but great info on wordpress

    Reply
  • Akos

    Hi Dheeraj,

    First of all, great post!
    I like the way you present WordPress.
    Plainly I didn’t know that 69% of bloggers use WP.
    But the most interesting thing that caught my eye is the number of code lines in WP. I sort of thought that it’s made with PHP, but I didn’t know that is uses up so much javascript.

    Keep it up!
    Akos

    Reply
  • Prashant@Zimboora

    what a detailed Explanation on codes of lines wordpress..

    Nice post… :-)

    Reply
  • Raj Mehta

    Nice post. Even i like WordPress as a best CMS.

    Reply
  • Ankit

    Hey interesting post @Dheeraj. @Harsh nice to see some changes in your blog.But could you please share which plugin or hack you are using to show “Tags” like that.

    Reply
    • Dheeraj

      I am using Tag cloud for showing “Tags” . But I have added more CSS to it!

      Reply
  • Sreejesh

    Very good info especially when we bloggers use it the most. The picture in this post is not linked in order click.

    Reply

Leave a Comment