Jump to content

bernhard

Members
  • Posts

    6,629
  • Joined

  • Last visited

  • Days Won

    358

Everything posted by bernhard

  1. I'm using this one: https://marketplace.visualstudio.com/items?itemName=lukasz-wronski.ftp-sync I'm not 100% happy but it works most of the time. Searching through all files only works when you have all files on your computer. This ftp sync sucks for that part. I always zip everything and download it... much faster most of the time. Maybe the new duplicator module could help here... Another thing that I do is browsing the server over ssh via winscp and then just doubleclick the file. This opens the file on VSCode and on save uploads the new version.
  2. not related to processwire but may be of interest anyhow:
  3. a limit per time or by number of posts would be great. it's totally understandable that not every user needs 100mb from the beginning. it would even make sense to have a low limit at first imho
  4. you need the entities only for frontend OUTPUT when you don't want the string to be interpreted as HTML
  5. hey @adrian what about creating a wiki page for tracy debugger? I played around with that on gitlab today because I'm looking for an easy and good way to write docs for my module too. I didn't get readthedocs to work properly... Gitlab/hub wikis seem to have all i need: Write Code easily in the Browser, copy&paste screenshots (very handy!) and automatic table of content creation and dividing content into several pages and sub-pages. see here: https://gitlab.com/baumrock/test-readthedocs/wikis/neue-testseite also gifs work. and collaboration would easily be possible too. not sure how docs would work for different versions of a module though. but all the pages have a history so that should not be a problem...
  6. Can you explain your exact usecase? I'm still not sure how useful the module could be on the frontend... It's really easy to implemenet a Datatable on your own on the frontend and then you have all the flexebility that custom code provides. Not sure if it makes sense to trade flexibility against ease of use... This is an awesome example by @Macrura http://ohmspeaker.com/speaker-filter/?length=13&width=17 That would not be possible with my module. At least it would not be easier than without using it... So I'm not sure if my module could provide what you expect
  7. just a quick sidenote to google pagespeed insights and pingdom... i analysed a page today by curiosity because the images where loading slowly... devtools showed that the frontpage loaded 19,8MB (wordpress, what else...); pagespeed insights sais 80/100 "needs work". so i checked another site from some days before which i knew got 22/100... this one has 9,1MB for the frontpage... pingdom at least has the amount of seconds for load time and shows a percentage of slower websites... but still the 20MB site (pingdom said it are even 28MB) is faster than 38% of the tested sites... seriously?! ok, i get it... but jquery with its 84kB is too huge for the modern web
  8. very nice, congratulation! and thanks for sharing
  9. Ok guys, I got some REALLY nice results today @dragan sorry, I was unclear in my previous post... I had to leave to a christmas party So here are some explanations and the new results: Table with 10.000 rows without cache: 400ms (see the screenshot) Table with 10.000 rows with cache: 200ms The key was to get the data directly from the database. Of course I knew before that this possibility exists, but I didn't know how to solve the problem of multilanguage and returning complex data (like $page->parent->title for one column) and still keep the setup of a table simple and straightforward. Now I found a great way and I'm really eager to start working on this What I meant by "stay on the client side" was, that I want all the data get transferred to the client and then rendered by datatables. The other option would be to use ajax pagination and load only junks of the data to the client. But having all the data on the client is a huge benefit for manipulating, filtering, sorting, charting etc.; and you where right about my "cache" wording: I'm talking about a cached string holding all the data for the datatable. So if the cache exists it just loads the string - if not it creates the string from the database and then loads the data into the datatables. Any wishes/ideas for features that I should think of when developing the next version of the module? ...see the feature list in the first post
  10. check your .htaccess https://processwire.com/docs/tutorials/troubleshooting-guide/page3
  11. got some very good news on this (it feels like christmas for myself, because this made me some headache over the last months and the solution is quite simple and solves a lot of problems). I did some performance tests on a table with more than 10.000 rows and got the following results here on my local test environment (laragon + i7 @ 2ghz). rendering the table with javascript test-data works instantly (using deferrender option, did not try without) rendering the table with data coming from pw pages and 5 different fields takes around 16s single-language setup without caching takes around 5s to load multi-language setup without caching around 8s with markup cache enabled 180ms the screenshot shows a multi language table with 10.000 rows and 12 fields that loaded in 9,1s when building the cache. thats some really nice results, because it will make the setup even easier and it will even work with multilanguage wich I didn't know how to tackle before. my goal always was to stay on the client side, because there you have all the power of datatables: you have a powerful API to filter, sort etc the table and this plays perfectly well together with other clientside libraries like chart.js; my testcase showed that the search and sorting was also very snappy so I think it's definitely doable! It will be the first project after my master thesis and I may have something ready around 03/2018 I don't think that's a proper way to do this. I think there are only the 2 options: Release it for free (donations are always possible and welcome of course) without any support, documentation etc. or release it as pro module and provide proper support and docs. maybe @kongondo or @apeisa can share some of their experiences with us (or at least with me in a PM)?
  12. Hi dst81 and welcome to the forum I think you are spot on with this. Ryan built PW mostly because he was not satisfied with other systems for his own work. This has some benefits (we all know why we love it), but i think you just found one drawback, because as far as I know Ryan mostly works on his own and so maybe collaboration with other devs was and is not the highest priority. Maybe it's similar to the situation that Wordpress can be bend to a CMS, and maybe Processwire can also be bend to a team/staging/dev workflow? I have to admit, though, that I'm also a single dev working mostly on my own or with a partner for the frontend (where a hacky ftp setup is sufficient for the time). So I have no experience how it could/would professionaly be done... So I'm just thinking loud here and that's no way ment to be an expert satement But nevertheless there is the Migrations Module that you should definitely have a look at! https://processwire.com/blog/posts/introduction-migrations-module/ Would be very interested to hear your results and see which road you took Good luck.
  13. Hi dragan, unfortunately not. I need to do a complete rewrite of the module. As i need it for all my projects it is on top of my todolist for the next year. I'm still not sure if I should release it free or as a pro module... But I hope I can release something around march 2018...
  14. I'm happy with greenshot http://getgreenshot.org/downloads/
  15. you could do this or that to solve your problem... glad you solved it. please update your post to show others that it is already fixed in a more obvious way (like the strikethrough), thanks
  16. processwire already makes it very hard for attackers to just guess username+password. and you can even adjust those settings:
  17. would be interesting to hear your approach on this (because of my datatables module)
  18. i understand and support your request. i have'nt used it but maybe adrians batch child editor is an option for you? it can also render children in a field similar to page tables.
  19. hi cloud8888, don't know what's wrong but i had a similar problem recently. I did a hacky quickfix and had no time to investigate this in detail. maybe you can have a look if that is somehow related to your problem?
  20. here is the blogpost just for reference https://processwire.com/blog/posts/building-custom-admin-pages-with-process-modules/
  21. @Macrura do you think it would be possible to update your module to also import images that were pasted from the clipboard? There is a ckeditor plugin that handles pasted image already. Maybe that could be a great addition!
  22. I tried it with a local screenshot and it worked It works everywhere nowadays... web.whatsapp.com, facebook messenger, github or stackoverflow (don't know atm which one it was)... I'm sure such a plugin could be adopted to our needs and save the image just as if it was uploaded via a regular image field. and deleted when the field is changed and the image removed.
  23. true. but i'm really missing a copy/paste functionality in the ckeditor field. It's always very annoying to create screenshots, create files, upload files, click on the image button, insert image, save. with such a plugin it would be: create screenshot, paste
  24. would be VERY nice to have this copy-paste functionality for CKEditor at least: https://sdk.ckeditor.com/samples/fileupload.html#uploading-dropped-and-pasted-images (working demo) see also
  25. Ah, I understand! Ok then a message would be nice to keep the first steps for everybody as easy as possible. Thanks!
×
×
  • Create New...