Hello Sir,

On Thursday, March 15, 2018 at 3:52:36 AM UTC+5:30, Aymeric Augustin wrote:
>
> Hello Manasvi,
>
> On 14 Mar 2018, at 09:09, Manasvi Saxena <[email protected] <javascript:>> 
> wrote:
>
>
> Create libraries in python and integrate them with Django to generate HTML 
> code for front-end development and thus contributing to make Django a 
> full-stack framework.
>
>
> For Python developers, it is an extra work to learn HTML and CSS to create 
> a Front-end for a website. I intend to simplify their life by creating 
> libraries that will convert Python code into HTML code to generate an HTML 
> page.
>
>
> Please let me know what do you think of the idea and help me refine it.
>
>
> I'm skeptical of the concept of building web pages in code without 
> learning and understanding some HTML.
>
> To me it looks like your proposal will require users to learn HTML and 
> your system instead of just HTML.
>
> Any language or system needs to be debuggable. Debugging in a web browser 
> requires reading HTML.
>
> People who spent years building websites came up with template languages 
> such as Django's template language and Jinja2 to solve this problem.
>
> The mainstream system that most resembles what you're describing is "React 
> without JSX" (not really mainstream to be honest). It isn't very popular; 
> virtually everyone uses JSX, a template language.
>
> I'm afraid you'll have a hard time finding a committer who's willing to 
> shepherd that GSoC project.
>
> Best regards,
>
> -- 
> Aymeric.
>
>
>
I have made a prototype of how I'm going to implement my idea.
This is just to give a gist of how I intend to move further and is at a 
very early stage.

Link to the repository- https://github.com/minusv23/pyhtml
Link to the created page- https://minusv23.github.io/pyhtml/

I agree with the concerns you have raised that the user will have to learn 
the concept of HTML as well as that of my system, but I will be writing 
complete documentation of my 
library including which function corresponds to which result with examples.

Think of this library as a bridge between Python and HTML, you don't need 
to know the syntax of HTML, just need to know which function of the library 
creates what output. After you have created the content of your page just 
pass it to a function in a list and you have your HTML page.

Have a look at the prototype and let me know what you think of it.
The HTML page generated was completely programmed in Python using the 
library I created.

Regards,
Manasvi Saxena 

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/9ca8311b-3b70-44ae-a681-80873d0a86ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to