ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By Sprite_tm
#4508 alonewolf2x: Gimme a sec (figuratively speaking) and I'll try to mash the patch in shape and update my git repo.

EDIT: Sorry, it'll probably take a bit longer. The implementation kisesp did probably works fairly well, but goes against a few design principles I'm trying to implement in the webserver. I'll release it probably in a few days, but I'd like to integrate some other ideas I had about authentication first.
User avatar
By Sprite_tm
#4607 Okay, I added basic authentication to the webserver; results are in the Git repo mentioned in the 1st post. kisesp: While it was an inspiration, I ended up not using any of your code except for the rssi patch; hope you don't mind. In the default build, authentication is turned off but you can easily enable it by uncommenting the relevant line in user_main.c.
User avatar
By bkrajendra
#4627
Sprite_tm wrote:Would you guys mind taking this out of this thread? It's only marginally relevant to the esphttpd code.


Dear @Srite_tm,

I do not understand why u disagree..!
Basically I myself put entire Twitter Bootstrap GUI into the ESP. I'm not against it.
There is something called Thin and thick client. Its absolutely up to the need of application and thinking of developer, to decide about where to put the GUI and logic. I never said it must be done in one particular way... its just an option. Either put "GUI and Logic on ESP" or Keep only logic in ESP and make HTML5 app for desktop, Mobile, TV or any device.

For application with complex CPU hungry logic with many clients accessing ESP remotely its always better to have json api on ESP. This has been done all over internet to reduce the server load and improve throughput...!

And please I'm not going against your work or your thread. I really admire your work and I'm following your work from last few months.

For wireless sensor network reply I was just answering one thread n just trying to share an idea.

sorry if anything has gone wrong!!!
User avatar
By alonewolfx2
#4632 @bkrajendra webserver with your gui too slow for first load.


bkrajendra wrote:
Sprite_tm wrote:Would you guys mind taking this out of this thread? It's only marginally relevant to the esphttpd code.


Dear @Srite_tm,

I do not understand why u disagree..!
Basically I myself put entire Twitter Bootstrap GUI into the ESP. I'm not against it.
There is something called Thin and thick client. Its absolutely up to the need of application and thinking of developer, to decide about where to put the GUI and logic. I never said it must be done in one particular way... its just an option. Either put "GUI and Logic on ESP" or Keep only logic in ESP and make HTML5 app for desktop, Mobile, TV or any device.

For application with complex CPU hungry logic with many clients accessing ESP remotely its always better to have json api on ESP. This has been done all over internet to reduce the server load and improve throughput...!

And please I'm not going against your work or your thread. I really admire your work and I'm following your work from last few months.

For wireless sensor network reply I was just answering one thread n just trying to share an idea.

sorry if anything has gone wrong!!!