Need advice about which tool to choose?Ask the StackShare community!

Django REST framework

1.5K
1.5K
+ 1
300
Perl

1.6K
748
+ 1
513
Add tool

Django REST framework vs Perl: What are the differences?

Django REST framework: Web APIs for Django. Django REST framework is a powerful and flexible toolkit that makes it easy to build Web APIs; Perl: Highly capable, feature-rich programming language with over 26 years of development. Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more.

Django REST framework belongs to "Microframeworks (Backend)" category of the tech stack, while Perl can be primarily classified under "Languages".

"Browsable api" is the primary reason why developers consider Django REST framework over the competitors, whereas "Lots of libraries" was stated as the key factor in picking Perl.

Django REST framework and Perl are both open source tools. It seems that Django REST framework with 14.7K GitHub stars and 4.33K forks on GitHub has more adoption than Perl with 436 GitHub stars and 152 GitHub forks.

According to the StackShare community, Django REST framework has a broader approval, being mentioned in 159 company stacks & 79 developers stacks; compared to Perl, which is listed in 133 company stacks and 64 developer stacks.

Advice on Django REST framework and Perl
kristan-dev
Senior Solutions Analyst · | 7 upvotes · 108.8K views

My journey to developing REST APIs started with Flask Restful, and I've found it to be enough for the needs of my project back then. Now that I've started investing more time on personal projects, I've yet to decide if I should move to use Django for writing REST APIs. I often see job posts looking for Python+Django developers, but it's usually for full-stack developers. I'm primarily interested in Data Engineering, so most of my web projects are back end.

Should I continue with what I know (Flask) or move on to Django?

See more
Replies (1)
Rafael Torres
Technical Lead at 4Agile · | 9 upvotes · 99.6K views

If you want to be a Web developer with knowledge in another frontend and NoSql technology, maybe continue with Flask. However, if you want to create very fast solutions to grow up with a new business and merge these with data analysis and other tools, Django is the answer. Basically read more about the service architecture where you feel more comfortable, Microservice or Monolithic, but please will not married with any because they solve issues to different contexts.

See more
Saurav Pandit
Application Devloper at Bny Mellon · | 5 upvotes · 78.4K views

I have just started learning Python 3 weeks ago. I want to create a REST API using python. The API will be used to save form data in an Oracle database. The front end is using AngularJS 8 with Angular Material. In python, there are so many frameworks to develop REST APIs.

I am looking for some suggestions which REST framework to choose?

Here are some features I am looking for:

  • Easy integration and unit testing, like in Angular. We just want to run a command.

  • Code packaging, like in java maven project we can build and package. I am looking for something which I can push in as an artifact and deploy whole code as a package.

  • Support for swagger/ OpenAPI

  • Support for JSON Web Token

  • Support for test case coverage report

Framework can have features included or can be available by extension. Also, you can suggest a framework other than the ones I have mentioned.

See more
Replies (1)
Recommends
Flask
at

For starters flask provides a beautiful and easy way to create REST APIs. Also its supported by excellent beginner docs as well as a very active community. Another good thing with Flask is its widely available list of plugins which allow you to build as you go. Its also good in performance and can scale to a quite decent level. However, if you are sure your project is going to be fairly big, it would be better to start with Django as it provides a lot of features out of the box and is extremely stable in performance. Both these frameworks have support for Swagger, JWT, Coverage Report although you have to install plugins for them. Deploying both of these are fairly simple and there is huge documentation available. Django has one of the best documentations I have come across. I hope I was able to answer your queries.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Django REST framework
Pros of Perl
  • 64
    Browsable api
  • 63
    Easy to use
  • 53
    Great documentation
  • 49
    Customizable
  • 41
    Fast development
  • 9
    Easy to use, customizable, pluggable, serializer
  • 8
    Python
  • 5
    Django ORM
  • 4
    FastSerialize
  • 2
    Less code
  • 2
    Easy implementation
  • 0
    Dsasda
  • 68
    Lots of libraries
  • 62
    Open source
  • 58
    Text processing
  • 49
    Powerful
  • 45
    Unix-style
  • 44
    Regex
  • 35
    Stable
  • 28
    Concise syntax
  • 27
    Hackerish
  • 19
    Easy to use
  • 10
    Swiss army chainsaw
  • 10
    CPAN
  • 9
    Code Less Do More
  • 7
    Freedom
  • 6
    All purpose
  • 5
    Familiar
  • 4
    Readability
  • 4
    Community
  • 3
    It's the best one-off task language
  • 3
    Modular
  • 3
    Object-Oriented
  • 2
    Postmodern
  • 2
    Good man pages
  • 2
    For a man
  • 2
    Many ways to do it
  • 2
    Smart (does alot for you)
  • 1
    Hashes
  • 1
    Multi-threaded support
  • 1
    Single Source Library (CPAN)
  • 1
    Auto case variables

Sign up to add or upvote prosMake informed product decisions

Cons of Django REST framework
Cons of Perl
  • 2
    Bad documentation
  • 2
    Reimplements Django functionality
  • 1
    No support for URL Namespaces
  • 0
    Bad CSRF handling
  • 3
    Messy $/@/% syntax
  • 3
    No exception handling
  • 2
    No OS threads
  • 2
    Bad OO support
  • 2
    "1;"
  • 1
    Copy-on-create for interpreter-based threads
  • 1
    Barewords
  • 1
    Errors/warnings are ignored by default
  • 1
    Variables are global by default

Sign up to add or upvote consMake informed product decisions

What is Django REST framework?

It is a powerful and flexible toolkit that makes it easy to build Web APIs.

What is Perl?

Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more.

Need advice about which tool to choose?Ask the StackShare community!

Jobs that mention Django REST framework and Perl as a desired skillset
What companies use Django REST framework?
What companies use Perl?
See which teams inside your own company are using Django REST framework or Perl.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Django REST framework?
What tools integrate with Perl?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

+42
46
39070
+47
46
68797
+3
6
5274
What are some alternatives to Django REST framework and Perl?
Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Flask
Flask is intended for getting started very quickly and was developed with best intentions in mind.
Tastypie
Tastypie is a webservice API framework for Django. It provides a convenient, yet powerful and highly customizable abstraction for creating REST-style interfaces.
Swagger UI
Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation and sandbox from a Swagger-compliant API
Graphene
Graphene is a Python library for building GraphQL schemas/types fast and easily.
See all alternatives