Scraping PDF content without any scraping tool using python.

Scraping the internet. What is it? How it works? And many more questions associated with it? Well there are so many answers to it, like beautifulsoup, selenium (uh its a automation tool but you can use it for scrapping also with python 😉 ), mechanise, and many more ways. But here i tell you the secret … Continue reading Scraping PDF content without any scraping tool using python.

Django Ajax file-uploader with bootstrap progressbar

Hey guys. You might have implemented the file upload logic in your web-app. Usually in Google chrome it shows the file upload percentage, but in other browsers it doesn't show. What if you are using some other browser and you have uploaded a large file of size 10-20MB approx and  it takes 5 minutes to upload. … Continue reading Django Ajax file-uploader with bootstrap progressbar

The Awesomeness of MySQL Indexing. Simple, fast, accurate and reliable.

Are you dealing with a huge heap of data each day in you database with over hundreds of tables and thousands of records in each table? If yes then you must be getting a slower performance. Same was the case for me too. I have a MySQL database with 230 tables in it and huge number of … Continue reading The Awesomeness of MySQL Indexing. Simple, fast, accurate and reliable.

Django-ajax form submission using jquery.

This approach uses jquery-ajax to submit the form and get the response from the backend without reloading the page on submission of the form. The models, froms, views, html and javascript is explained below. models.py class Employee(models.Model): # Primary key emp_id = models.AutoField(primary_key=True) # Employee name upto 50 char emp_name = models.CharField(max_length=50) # Employee age … Continue reading Django-ajax form submission using jquery.