Log message #4017105

# At Username Text
# Apr 18th 2017, 10:29 hmic if you have worked with cake before, you will not run into any problems you can't solve. if you have not worked with cake before, i would advise to find someone who does and handle the task over
# Apr 18th 2017, 10:28 hmic but it is very doable and you can get help over here
# Apr 18th 2017, 10:28 hmic the upgrade will not be fully automatic and be done in a day, if you have good tests, thats a big plus!
# Apr 18th 2017, 10:27 hmic cake 1.3 is EOL and EOS for quite some time now
# Apr 18th 2017, 10:26 hmic sim: you shdould do the 2.x upgrade by all means!
# Apr 18th 2017, 10:23 sim Thanks, I will not upgrade it now, :,'(
# Apr 18th 2017, 10:22 dereuromark hmic: I didnt see the pastebin, well thats a bummer then
# Apr 18th 2017, 10:21 hmic it will not gain you much though, as the upgrade to 3.x is still almost the same effort
# Apr 18th 2017, 10:20 hmic you will have to tweak the one or the other thing, but this is a task that can be done rather easily and quickly
# Apr 18th 2017, 10:20 hmic there are upgrade tools in existance that can help you with upgrading 1.3 to 2.x
# Apr 18th 2017, 10:19 hmic cache is about the same, as it only depends on the cache engine, utilization of cache might be different
# Apr 18th 2017, 10:19 sim So what about 2.x?
# Apr 18th 2017, 10:19 sim That's is so bad ....
# Apr 18th 2017, 10:19 sim I mean cache only
# Apr 18th 2017, 10:19 hmic i'd say 1.3 => 3.x is a rewrite
# Apr 18th 2017, 10:18 hmic first off: cake 3 runs on php7 which is a lot faster, the orm cake 3 uses is completely different from the one cake1.3 uses and it is faster by all means
# Apr 18th 2017, 10:18 sim I wanna upgrade cakephp from 1.3.14 to 3.4. So my question is can I gain a large performance improvement on cache and is it a very heavy work?
# Apr 18th 2017, 10:18 hmic sim: thats not the question really
# Apr 18th 2017, 10:17 hmic same holds true with saving and loading from database, if you let cake do it, it will take care, if you build queries yourself, you are up to do the right thing yourself.
# Apr 18th 2017, 10:17 hmic aiena: the correct answer is: the formhelper will take care of it all, like all things cake provides you with. if you decide to do the markup yourself and echo it, you need h(), like dereuromark said: if you output the data in a view, you need to take care of it, utilizing h(), if cake outputs it, it will take care for you
# Apr 18th 2017, 10:17 sim I wanna upgrade cakephp from 1.3.14 to 3.4. So my question is can I gain a large performance improvement on cache ?
# Apr 18th 2017, 10:16 hmic aiena: why has this app been build with cake, if it's not using *anything* cake does provide?
# Apr 18th 2017, 10:15 hmic dereuromark: he is not using the formhelper here!
# Apr 18th 2017, 09:56 aiena ah thanks
# Apr 18th 2017, 09:35 dereuromark not inside forms via formhelper
# Apr 18th 2017, 09:35 dereuromark as I said: on actual output in your templates
# Apr 18th 2017, 09:34 dereuromark you can try it with some alert() strings if you dont believe me :slightly_smiling_face:
# Apr 18th 2017, 09:34 aiena ok so when us h() actually used ?
# Apr 18th 2017, 09:34 dereuromark aiena: yes
# Apr 18th 2017, 09:34 aiena metoyoko your question is too broad to answer try rephrasing it
# Apr 18th 2017, 09:33 aiena is that safe for cake is it risky from XSS point of view ?
# Apr 18th 2017, 09:33 aiena dereuromark so I can just echo out the data from the database in an input tag e.g. like this http://paste.opensuse.org/f8e932cd
# Apr 18th 2017, 09:29 dereuromark do not mess with it at all, @aiena. Cake will handle all that on its own. You only need h() for actual view output.
# Apr 18th 2017, 09:27 metoyoko How to save data with association and many tables related
# Apr 18th 2017, 09:19 aiena Hi I have a question. I am maintaining a cake 2 app. I have data coming from the databse which I want to repopulate into a text field. If I htmlspecialchars encode it I think this is (h()) function in cake 3 not sure about cake 2. Will it still post correctly as a normal string ?
# Apr 18th 2017, 08:22 dereuromark you mean ajax? checkout the sandbox, it contains a lot of examples
# Apr 18th 2017, 08:20 adityapansari Any link/resource in cakephp3 how can I post the data using Jquery. I already have a function for that.
# Apr 18th 2017, 08:15 Neon1024 Morning all :)
# Apr 18th 2017, 08:15 Neon1024 Ahh, specifically quote them, that works
# Apr 18th 2017, 08:15 Neon1024 But I’m not sure why it’s quoting both field names here
# Apr 18th 2017, 08:14 Neon1024 I don’t want to turn off quoting identifiers, as I need it on