Comments on Profile Post by Chai

  1. Highwon
    Highwon
    Looks very nice however my long term plan for the ban list was to integrate it with the forums and we don't use boostrap or jquery (to my knowledge).
    Apr 23, 2015
  2. Chai
    Chai
    jquery + bootstrap = perfection + simplistic. Dumping 1500+ logs in a single page is pretty not advisable to do so, unless ajax is integrated. So it pulls out certain lines/logs from db when it is needed.

    So why wasnt it integrated?
    Btw, i notice a bug where it takes a period of time to fetch a username else it will return as null.
    Apr 23, 2015
  3. Highwon
    Highwon
    I agree that the way its done now is not optimal. It was done as a quick fix and even named Temporary Ban List. Unfortunately I haven't had the time to update it.

    But I really wouldn't call jquery + bootstrap = perfection. jQuery is much slower (>90%) than native JS: https://jsperf.com/document-getelementbyid-vs-jquery/3
    Apr 24, 2015
  4. Highwon
    Highwon
    Plus the fact that you have to download a 80KB js file (plus however large bootstrap is) where as native you don't need to download anything.
    Apr 24, 2015
  5. Chai
    Chai
    I understood that. Well, regarding to the size of the bootstrap, yea I know. It could be minimized but nah, not when it is still under dev.
    Then, speed. Yes, of course, pure javascript > library in terms of speed but as of now, its making the job easier. Maybe in the future, when you release the API, I might build everything from scratch. Oh and btw, can we have Tapatalk in this forum?
    Apr 25, 2015