There is often a huge question about the goodness of django, because of its monolithic nature.
Working with a front-end framework and REST architecture provides the flexibility and stretch of implementing many useful front-end intricacies. But how do we do that using Django and its “share nothing”architecture? How do you update front-end components without reloading pages? This is where AJAX comes handy.
Let us say, you want to save objects on a click or remove them from a model, all of this without reloading. This is how one would go about implementing this in django.
Defining the Database for implementation
If you want to create meetings or do other possible operations using Zoom on your product or website, Zoom has its own API which can be used for operations on Zoom.
Integrating it to Django/Python can be done in the following ways:
Once you have created your App(A JWT App) on the Zoom API Dashboard, you can find your API_KEY and SECRET_KEY. These two would be used for Authorizing you API using JWT Authentication
Install pyjwt — (pip install pyjwt)
Create the JWT using the API_KEY and SECRET_KEY.
Make Connection to the API…
Natural Language Processing is a part of statistical learning which deals with language and its perspectives. Right from sentiment analysis to trend classification, NLP is being used widely in today’s world to target audience and make user experience better.
During the last week of phase 2 of GSoC’20, I had to work on creating suggestions of meetups to users. Now whenever we have to do any statistical analysis in any field, be it image processing or Natural Language Processing, the first thing we need is data.
Deciding the way out
The Portal being in its development phase, there was not…
So after passing the community bonding phase and two coding phases, it seems pretty overwhelming. But even now, when someone asks me “How do I crack GSoC’21 or which language or frameworks to use?” I have to think a lot.
So after some brainstorming, the following are my observations. These are the following skills one would need as per my observations:
Mastering a programming language
Be it any framework, the foremost thing you would need is knowing a programming language. And not just knowing it, mastering it. There are all kinds of projects available, right from MERN to Django. …
Previously, in one of my blogs, I had mentioned about the difficulties one has to face while working on an existing project. One has to go through the code and understand the ways in which different transactions and implementations are designed.
Understanding the methods becomes a crucial part of the work. So this became the case again while jumping onto the Phase 2 issues for GSoC.
So after completing the meetup history feature for the Portal, I jumped onto adding subscription settings for users, which would allow them to choose whether to receive weekly digests and reminders.
Asynchrony¹ refers to the occurrence of events independent of the main program flow and ways to deal with such events. These may be “outside” events such as the arrival of signals, or actions instigated by a program that take place concurrently with program execution, without the program blocking to wait for results. Asynchronous input/output is an example of the latter cause of asynchrony, and lets programs issue commands to storage or network devices that service these requests while the processor continues executing the program. Doing so provides a degree of parallelism.
In Django this job can be done by using…
Moving on to Week 4 of GSoC’20, once again I had to work again on revamping the Search Feature on the portal, which helped searching for meetups on the Portal.
The problem with the previous search page seemed to have too many filters and sorts. My task was to make it simple. So i broke down the issue to the following steps.
The view for the search already existed but the problem was that some of the features did not exist anymore because of the revamping of the Meetups after removing the Meetup Location about which I have…
Working with Django seems so beautiful, with every bit of extraction done for you. Just import the function and use it. Be it sending emails or doing user authentication, everything becomes simple. But the problem is that with this level of abstraction comes the difficulty of implementing new features on your own. A similar problem was faced by me this week.
With the joy and happiness of clearing through the first phase of evaluation for GSoC with AnitaB.org, I was faced with the new issues for Phase 2. …
People often take it easy when it comes to beginning any project in general, be it android or web. The first step which arises while beginning any new project is designing the database. Designing the database may seem a very easy and normal task to do when working on personal projects. But when it comes to real world complex projects, database designs are really complex and difficult to design.
This was something I faced and worked in reality in my third week of GSoC under AnitaB.org on the Systers Portal. I had to work on the task of removing a…
After the first week of Coding Phase, I stepped into the second phase working with the First User Story — MapViews and Search for Communities
Completing first User Story
Half of the work being done in the first week only. The second week began with the front end of the communities search. I had been reading on rendering templates with ajax requests for some time to implement this.
So what I basically did was render a listview as a generic class based view for the page where search was to be done. …
What is to be done is to be done!