Skip to main content
Legend
August 16, 2017
Question

[Locked] Bens challenge

  • August 16, 2017
  • 1 reply
  • 2272 views

Ben,

You wrote:

As part of the bargain I would suggest that you produce one fully functioning responsive master/detail page using Ajax and PDO within 10 minutes as per Master-Detail Relationship with App Connect - YouTube

I don't like to disagree with you (well I do) but having watched the video I decided to have a go at your challange using ajax/mysqli. It took me all of 7mins approx to produce more or less exactly the same as that shown in the video, next time it will take me about 3mins, now I know the workflow and have snippets - no clicking!

Still think pure php is a more robust solution for this kind of thing but of course the page does have to refresh.

Cheers

Os

    This topic has been closed for replies.

    1 reply

    pziecina
    Legend
    August 16, 2017

    O/K, now we have a seperate discussion i am going to pose a question open to anyone but especially those who use extensions.

    Instead of a simple master/detail set-up that uses ajax, how would an extension cope with the following, which is becomming a typical usage on larger e-comm sites, and one that we use in the app i work on -

    The user selects the item, but instead of using ajax to insert the data in the current page a modal window opens showing all the details that would normally be seen on the detail page, complete with scroll bars if required.

    To add to the above, any screen size below 9 inch, does not open a modal window, instead it inserts the data below the item selected, but does not show the full data which is still available via ajax using the detail/summary element.

    BTW: I did the pdo with php 7 challenge in 39 seconds using cs6, and no 3rd party app. I did use my own pdo extension for this, so am i cheating .

    osgood_Author
    Legend
    August 16, 2017

    How many ice-creams is it worth?

    pziecina
    Legend
    August 16, 2017

    osgood_  wrote

    How many ice-creams is it worth?

    None, i know how to do it.

    My point is that once something is required outside of the norm for an extension, framework or any pre-built template then the user has a problem if they do not know how the code works and more importantly how to modify it, and once one starts into css, javascript or server side code the modification often becomes difficult, (sometimes impossible) without documentation.

    I do agree that extensions and bootstrap, (don't swear at me ) do add value to Dw, but the inability of Dw to allow users to create not just what extensions and frameworks can do, but to expand and improve on them, is slowly killing Dw, as too many users are now becomming code illiterate and completely reliant on extensions and frameworks for everything. This is NOT the extension creators fault, as they like anyone else are simply making a living by filling in what Dw is missing.

    This is now being echoed in forum posts when users say they will post code elsewhere, and members of a certain forum, (something to do with new versions) and some acp's think no code problems should be posted here, probably explains the fall off in posts.