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.

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.


 $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
  • 31,713 are in javascript
  • 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.

Subscribe on Youtube

Article By


COMMENTs ( 21 )

  1. asif says

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

  2. Cory Howell says

    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.

  3. romy singh @ SEO And Link Building Tips says

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

  4. Christopher Ross says

    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.

  5. BlinKinGhost says

    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

  6. Amol Mhetre says

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

  7. Saket Jajodia says

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

  8. Sandeep@CuriousLittlePerson says

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

    2,00000 lines of code.. phew

  9. Trung @ Blogging 24 Hours says

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

  10. Akos says

    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!

  11. Ankit says

    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.

  12. Sreejesh says

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