felipekatao / py.html Goto Github PK
View Code? Open in Web Editor NEWAlgoritmo faz um arquivo HTML apartir do zero apartir de algumas especificações basicas
License: Apache License 2.0
Algoritmo faz um arquivo HTML apartir do zero apartir de algumas especificações basicas
License: Apache License 2.0
https://purecss.io/start/ and https://materializecss.com/getting-started.html
The Py.Html, the have others options for responsive layout, the Pure is simple and used few lines for creation the component.
The Materialize have good suport for Mobile, this is very good for Apps.
this Issue is less but is important for user final.
Create it component in its path: https://github.com/FelipeKatao/Py.Html/tree/master/Framework/Components
Create one Slider image carossel basic with 4 image with 5 sec time in window, use sometime Js and Html language.
Create news functions for PyHtmlConsole.py
Targets: https://github.com/FelipeKatao/Py.Html/blob/master/PyHtmlConsole.py and https://github.com/FelipeKatao/Py.Html/blob/master/Framework/StyleTools.py
How add new function for console Py.Html
First add the new command to the command list in the PyHtmlConsole.py module.
LISTCOMMAND= ["help","create.html","exit","create.html.menu","create.html.form","set.path","link.css","create.element","create.html.responsive"]
After inside the ExecuteCommand method, add an if with the new command you created.
if command == "create.html.form": pass
Following are the commands you should add to the list and variable:
After creating these commands, later we will implement their use.
The PyHtmlBackEnd.py is one module create backend functions , its module not have functions. create backEnd with Flask Framework and SQL functions for DataBase.
Create the Menu components with HTML and JS, with intaractive with user drop down style, for default with 4 itens.
Craate new functions for app console, the console create soimetimes Html files and add new elements Div, the Console App can create menus and Css files or components. I know relacionaments with pyhtml.py and cssTool.py
Remove this variable, its use not implemented
Create one full page in path template with Css and HTML (uses Materealize or Bootstrap for desing) its page have one menu, slider, cards, and article area and in botton header area.
Its is good frist time for user with Py.html framework.
Colors: Gray, Blue or Gray and Dark Gray.
https://github.com/FelipeKatao/Py.Html/blob/master/Framework/Template/model01.html
The py code save HTML or others files no in nUTF-8 encoding.
Problem: special character not is show in browser.
Solution: Insert code in block saves or edit code HTML or CSS:
`OUTPUT_CODEC= "utf-8"
with open(local,'r',encoding=OUTPUT_CODEC) as f:
text=f.readlines()
f.close()
pass
with open(local,'w',encoding=OUTPUT_CODEC) as f:
LineIndex-=1
text[LineIndex]=divNav
for line in text:
f.write(line)
pass`
This solution its works! But will aplicate in all funcions Py.html
I'd like to suggest that you create a demo application to show how Py.Html is used.
For example, lots of frameworks contribute demo applications to http://todomvc.com as in the screenshot below.
The idea is that my looking at the code for a demo application, I can get a good idea of if I like the framework or not.
Py.html not finder files in remote or sever remote, for solution this problem create one function or module call RemoteHtml() where localize files in remote path.
This problem is big if not solution in this phase of project.
Future solution: https://pt.stackoverflow.com/questions/63097/listar-arquivos-de-um-pasta-em-python
https://app.leanboard.io/board/0e296c67-78dc-45a7-95bf-fd8fc7ff9058
improve the criate tags functions and Rules for CSS, in atual stage the functions works with broken functions, or bad performace
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.