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 486
    • Best 121
    • 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.

    149
    Reputation
    109
    Profile views
    486
    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: how to use a new domain name

      @stephanie-akoun from the domains tab (in the topbar of the dashboard) click on the settings of your new domain. Then click on move this domain to another project and finally select your target project 😊

      posted in General Discussion
      Joseph Benguira
      Joseph Benguira
    • RE: Domain configured, still getting error

      @craig-jones said in Domain configured, still getting error:

      sioellanddarogshow.co.uk

      The DNS entry for certificate validation is not correctly created on cloudflare side
      I sent you and email with details πŸ˜‰

      posted in Domains & Emails
      Joseph Benguira
      Joseph Benguira
    • RE: How to add a logo and text to a line

      @maxim-plotnikov we have a type of logo text + image. But I recommend you instead to create an image with your composition and use it instead, it will be simpler 😊

      posted in How-to
      Joseph Benguira
      Joseph Benguira
    • RE: megamenu setup

      @maxim-plotnikov indeed mega menu must be edited in source code

      Double click on the html block to edit the menu groups and items

      posted in How-to
      Joseph Benguira
      Joseph Benguira
    • RE: Creation of tables

      @nicolas-flam you can check our cloud db ui component, it can be included as an iframe in page

      https://support.appdrag.com/doc/Cloud-DB-Overview

      Another option would be to use a grid component in a block of code like this one
      https://handsontable.com/demo

      posted in General Discussion
      Joseph Benguira
      Joseph Benguira
    • RE: site that has been deleted

      @stephanie-akoun It seems you missed my phrase:

      if you are able to provide the appID of your project we can check our old backups to see if we can provide a backup of it

      posted in General Discussion
      Joseph Benguira
      Joseph Benguira
    • RE: Category to reuse functions

      Hey @pierre, I've just tried the feature and it worked on my side!

      can you confirm your function is saved with the category set to something? and also you have no spaces in the category name.

      posted in Cloud Backend (Cloud DB
      Joseph Benguira
      Joseph Benguira
    • RE: Big mistake on my part. How to make up for it?

      @nicolas-flam you can open the code editor from the dashboard and from there you can go in the /preview/ folder, right click on it and click on restore, from there you can restore deleted files.

      Also your original page is still in the root folder, the unpublished version is in /preview/

      posted in General Discussion
      Joseph Benguira
      Joseph Benguira
    • RE: site that has been deleted

      @stephanie-akoun yes indeed, expired sites since more than 60 days are automatically deleted, and you probably got few warnings about it by email

      if you are able to provide the appID of your project we can check our old backups to see if we can provide a backup of it

      posted in General Discussion
      Joseph Benguira
      Joseph Benguira
    • RE: New feature - Audit trail

      @nicolas-flam when you are in your project overview click on Audit trail in the left menu

      posted in Announcements
      Joseph Benguira
      Joseph Benguira