Showing entries 1 to 10 of 21
10 Older Entries »
Displaying posts with tag: django (reset)
10 Steps to Be a Web Developer with Book Recommendation

Many people want to be web developer. But not many people know how and where to start. In this 10 steps guideline, I discuss how to be a web developer from Zero experience with my recommended books.

I created this guidelines based on my web development experience and recent trends. Personally I read most of the books I recommended here.

1. HTML & CSS

First step of becoming a web developer is to learning the fundamental of HTML and CSS. These are the building blocks of website or web application development. Normally a web developer doesn’t have to be a master of CSS as Web designer do this job. But sometimes for simple modification its way better to fix by oneself than asking the designer.

Recommended Books for HTML and CSS

 Learn to Code HTML and CSS

  …

[Read more]
Using Django with MySQL 8

Tweet

A framework can be a great way to allow you to spend more time on the actual application or web site and less time on standard tasks. It can also greatly reduce the amount of custom code needed. Django is one of the best known web frameworks for Python, and the good news is that it works out of the box with MySQL Server 8 and MySQL Connector/Python 8. This blog will look at how to use Django with MySQL 8.

There actually is very little to get Django to work with MySQL 8. Just install it, configure Django to use MySQL Connector/Python as a backend, and that’s it. From the Django point of view, you just have to configure the database option in settings.py to use MySQL Connector/Python and your database settings, for example:

DATABASES = { …
[Read more]
Full Stack Python Developer 9 Things to KNOW

I often get question in my Bangla Youtube channel that how to be a Full Stack Python Web Developer.

We can divide web development into 2 section:

  1. Backend
  2. Frontend

Backend Web Developer:

Backend developers are those who write application code that runs in server. How the application runs in server, how database connectivity happens and some other things are all part of backend developers job. To be a Backend Python Web Developer one have to learn at least one of the popular Python based web frameworks:

  1. Django or
  2. Flask

For database management system either have to know

[Read more]
Career as a Python Programmer Freelancing Jobs in Upwork Linkedin

In this episode, we are going to discuss about some statistics and data about freelancing and jobs based on Python programmer and python developer worldwide. Python is one of the most popular programming language in the market. We will first discuss about Python related jobs in Upwork.com then we will discuss about the jobs in Linkedin.com.



Summary of my discussion:

To start career in Python based work one need to know additional technology besides Python programming language like:

  1. How to Web Scrap
  2. Bash Shell scripting
  3. Elastic Search
  4. Hadoop
  5. Django [ For Web Application ]
  6. JavaScript [ For Web Applicatin]
  7. Data Structure
  8. Git
  9. MySQL or PostgreSQL
  10. Redis [ Server Side Cache ]
  11. Kafka

Recommended Beginner Python Books:

Python Crash Course :

[Read more]
Django with time zone support and MySQL

This is yet another story of Django web-framework with time zone support and pain dealing with python datetimes and MySQL on the backend. In other words, offset-naive vs offset-aware datetimes.

Shortly, more about the problem. After reading the official documentation about the time zones, it makes clear that in order to reflect python datetime in the necessary time zone you need to make it tz-aware first and than show in that time zone.

Here is the first issue: tz-aware in what time zone? MySQL stores timestamps in UTC and converts for storage/retrieval from/to the current time zone. By default, the current time zone is the server’s time, can be changed on MySQL globally, per connection etc. So it becomes not obvious what was tz of the value initially before stored in UTC. If you …

[Read more]
How the MariaDB download system works

During my years at MySQL AB I had the unfortunate task of manually maintaining the download page for enterprise customers. This involved a ton of boring, error prone work and almost always led to some sort of error every release. Some of our downloads were eventually replaced with an automated system written by the web team but the memory of all that time wasted still hurts me. So when I joined Monty Program and saw our downloads were manually maintained in mediawiki I knew something had to change.

Most of the websites for Monty Program and the MariaDB project are written with Django so this is where I started. I used our existing website code base and just created a new django application for downloads.  There are many models / tables involved in the system but the important ones are:

  • Releases: A list of all the releases we have made, i.e. MariaDB 5.2.7, MariaDB …
[Read more]
Tech Messages | 2010-04-24

A special extended edition of Tech Messages for 2010-04-15 through 2010-04-24:

[Read more]
News from the Web Stack: Update Center install and Django

Jeff's blog entry on installing Web Stack using IPS (a new feature in 1.5) now has a screencast version (4 min. ogg format, use Firefox 3.5 or VLC 1.0), courtesy of Brian. The GlassFish Web Stack (see recent 1.5 release) uses the same packaging technology as the GlassFish App Server and as OpenSolaris (where the technology initially came from).

IPS, …

[Read more]
Freiwild almost ready for Django 1.0.2

I've been working on our Freiwild Shop website today making it compatible with Django 1.0.2 (final(ly)!). Basically, what I've done is try to run it and fix where it errors following the direction documented in the manual. I think that the next days I'll see how I can optimize the MySQL usage a bit.

The shop I've build has little models and doesn't use to much fancy tricks. Among the changes:

  • Templates: extends should be on the first line
  • Models: should not contain anything Admin-related. This is actually very nice, seperating models.py and admin.py.
  • Model Fields: maxlength changed to max_length, oldforms/newforms options disappeared, small stuff like this.
[Read more]
MySQL vs Postgres, Again - Is Postgres Better?

I was browsing the web on this lazy Sunday afternoon and ran across a good article on the Rarest Words blog. The author was trying to get Django installed and running with Postgres. From the author's own admissions, he is not a Postgres fanatic.

Well, this and last year I hear everywhere that PostgreSQL is the way to go and that usage of mySQL in 2008 makes people puke… But without any real arguments (besides "Postgres is the way to go").

After some not so compatible errors with these not so compatible databases, the author did get it working and ran some benchmarks. Postgres did not turn out faster than MySQL. If you ask anyone in the Postgres community which database is faster, they will say Postgres. Ask anyone in the MySQL community and there's no telling what …

[Read more]
Showing entries 1 to 10 of 21
10 Older Entries »