Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Joseph Benguira
    • Profile
    • Following 1
    • Followers 14
    • Topics 5
    • Posts 599
    • Best 122
    • Groups 1

    Joseph Benguira

    @Joseph Benguira

    I'm a passionate developer, particularly interested in R&D and optimization/scaling topics. I'm also the founder of AppDrag.

    150
    Reputation
    118
    Profile views
    599
    Posts
    14
    Followers
    1
    Following
    Joined Last Online
    Website appdrag.com

    Joseph Benguira Unfollow Follow
    administrators

    Best posts made by Joseph Benguira

    • Parametrized SQL queries are now supported in appdrag-cloudbackend

      Hey dear community,

      We have updated our appdrag-cloudbackend NPM package to allow parametrized SQL queries.

      If you want to compose the SQL query by yourself with input parameters you must escape the user inputs to avoid SQL injection with cloudbackend.escape() like this:

      cloudbackend.sqlSelect("SELECT * FROM Products WHERE category = '" + cloudbackend.escape( event.POST.category ) + "'")
      .then( function(response) {
      	console.log(response);
      });
      

      But there is now a better way with parametrized queries, You can use ? characters as placeholders for values you would like to have escaped. Multiple placeholders are mapped to values in the same order as passed.

      cloudbackend.sqlSelect('SELECT * FROM Products WHERE category = ? and id > ?', ["Software", 500])
      .then( function(response) {
      	console.log(response);
      });
      

      You can check the full documentation on NPM:
      https://www.npmjs.com/package/appdrag-cloudbackend

      posted in Announcements
      Joseph Benguira
      Joseph Benguira
    • RE: [TM] Broken Database

      Hey Pierre,

      your issue is coming from "-" in table name ... it's a forbidden character with MySQL ...
      Internally we do have a trick to be able to use it but it's really not recommended ... you will have to backtick the table name everywhere in your queries because of this...

      My advice, follow best pratices a just don't use forbidden characters in your table names πŸ˜‰

      posted in Cloud Backend (Cloud DB
      Joseph Benguira
      Joseph Benguira
    • Hello Community!

      Hello,

      AppDrag migrates its one to one support to a general community. We aim to provide high-quality answers available to everyone. After some time we would have a strong questions/answers database bringing a lot of value to our users to build their web applications with confidence. We also want to create a dynamic community to improve the platform and our reactivity to build and fix things based on what you as website builders really need.

      Here are the 3 main rules to respect when asking a support question on the board:

      • Don’t post until you’ve searched the Community for the answer first

      • When posting, provide as much information as possible so that your problem can be fully and clearly understood. You can include an appID, link, screenshot, detailed description, etc.

      • Be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.

      Don’t forget that if you want somebody else to consult on or develop your AppDrag solution for you, we can provide you with paid support or connect you with one of our certified partners.

      posted in Announcements
      Joseph Benguira
      Joseph Benguira
    • Improved support documentation

      Hey dear community,
      We worked hard to improve appdrag documentation with more content, use cases and a better search engine (full-text with scoring)
      There is now 147 articles including 14 use cases tutorials

      You can check it here: https://support.appdrag.com/

      πŸ™‚

      posted in Announcements
      Joseph Benguira
      Joseph Benguira
    • RE: How-to section in the forums

      Hey Thomas, indeed great idea!
      I have just added the new section "How-to, Tutorials" πŸ™‚

      posted in Features requests
      Joseph Benguira
      Joseph Benguira
    • RE: Node v.14 and/or ES2020

      Hey Daniel,

      since we use AWS Lambda under the hood, we are waiting for AWS to add it and we will get it the same day on AppDrag Cloudbackend πŸ™‚

      You can check this page for more details about supported Node.js versions:
      https://docs.aws.amazon.com/lambda/latest/dg/lambda-nodejs.html

      Based on the latest update for Node 12, (https://aws.amazon.com/blogs/compute/node-js-12-x-runtime-now-available-in-aws-lambda/)
      There is a 6-7 months delay between on official LTS release of node and it's availability on AWS Lambda

      posted in Cloud Backend (Cloud DB
      Joseph Benguira
      Joseph Benguira
    • RE: Homepage not displaying correctly.

      I can see you have a script on the page that is crashing ...
      and it's making crash the render of the page

      Please try to remove your custom script (or fix it)

      Also, instead of placing scripts directly in the source code of your page or in the head of the page, place it in a block of code, this way it will be safe πŸ™‚

      posted in Cloud CMS (Pagebuilder
      Joseph Benguira
      Joseph Benguira
    • AppDrag CLI tool is now available!

      Hey Community, we are happy to announce that our CLI tool is now available on NPM
      https://www.npmjs.com/package/appdrag

      deploy your full-stack apps to the cloud. Work with your local tools (VS Code, Atom, ...) and build process, then push your compiled code to your app in appdrag

      This tool is recommended for:

      • Develop locally with your usual tools (VS Code, Atom, ...) and build process (Webpack, ...)
      • Setup a CI/CD pipeline
      • Setup an external backup of your app
      • Export/Import full-stack projects
      posted in Announcements
      Joseph Benguira
      Joseph Benguira
    • RE: Alternative error pages

      In that case DO NOT USE the option 404 if no result because this is linked to 404 page (as it name says :p)
      and then handle in JS the situation with few 2 lines of JS, like if the fields are empty ... redirect to page X ...

      posted in Features requests
      Joseph Benguira
      Joseph Benguira
    • RE: Scheduling API calls based on day of the week

      Hey Franck,
      yes it's possible, when you configure your scheduling select "Every-week" in the recurrence type dropdown
      you can then indicate the days of the week and hour

      dc4a523b-ac9f-4b9b-a1de-1e6aad92c7ae-image.png

      posted in Cloud Backend (Cloud DB
      Joseph Benguira
      Joseph Benguira

    Latest posts made by Joseph Benguira

    • RE: afnic

      Hey @stephanie-akoun, you have to reply to them (can be in french) with the requested documents

      you can also call them by phone

      posted in General Discussion
      Joseph Benguira
      Joseph Benguira
    • RE: AFNIC ?

      @katya-nakache if you provide the papers they should process them the same day so it should be ok

      You won't be able to modify the old domain to setup a redirect to the new one until this situation with them is solved, so best way is to reply to them with required docs asap

      posted in General Discussion
      Joseph Benguira
      Joseph Benguira
    • RE: AFNIC ?

      Hey @Katya-Nakache , this is normal.
      You have to reply to them with details requested

      posted in General Discussion
      Joseph Benguira
      Joseph Benguira
    • RE: Date in a form.

      @nicolas-flam said in Date in a form.:

      cae08d#PAGE_rappel

      Hey Nicolas, if you want a date picker you will need to use Cloud backend inputs

      posted in General Discussion
      Joseph Benguira
      Joseph Benguira
    • RE: Download html appdrag newsletter

      @rebecca-buff You can export the newsletters in HTML format if you have a PRO offer

      57760765-5d65-45c2-9b6b-bb71841e3f8a-image.png

      posted in Cloud CMS (Pagebuilder
      Joseph Benguira
      Joseph Benguira
    • RE: External form loading on appdrag page very slowly

      @tony-jacob I have just tested it, on my side the form appears on the page after 5 seconds
      My guess is the form is loading tons of JS/code inside the Iframe and that explains why the IFRAME takes 5 seconds to load.

      I've also checked quickly your page and I can see an unclosed SCRIPT tag in the source code of your page, and also several JS errors from an external service "Matomo"

      5b0e0d8b-6d27-45bd-9bc9-92654b4cedbe-image.png

      Those are slowing down execution of JS on your page, so I recommend you to fix those errors

      posted in Cloud CMS (Pagebuilder
      Joseph Benguira
      Joseph Benguira
    • RE: Google Analytics version?

      @henrik-riccius We use Google tag, it will look like this:

      <script async src='https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxx-x'></script>
      <script>window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());gtag('config', 'UA-xxxxxxxx-x');</script>
      
      
      posted in Cloud CMS (Pagebuilder
      Joseph Benguira
      Joseph Benguira
    • RE: Moving to new host; do I have to delete my pages?

      @lora-alexander domain will be auto deleted from our system when it will pickup the fact that domain has been moved to another registrar.

      So nothing to do on your side πŸ˜‰

      posted in Domains & Emails
      Joseph Benguira
      Joseph Benguira
    • RE: Moving to new host; do I have to delete my pages?

      @lora-alexander yes it's recommended to disable SSL on the appdrag website, that way you will also be able to use it later on AWS Cloudfront

      posted in Domains & Emails
      Joseph Benguira
      Joseph Benguira
    • RE: Moving to new host; do I have to delete my pages?

      Hey @lora-alexander, sure np.
      Once your domain is moved, you can unpublish the website from the appdrag dashboard

      posted in Domains & Emails
      Joseph Benguira
      Joseph Benguira