Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    1. Home
    2. Joseph Benguira
    • Profile
    • Following 1
    • Followers 18
    • Topics 5
    • Posts 873
    • Best 131
    • 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.

    158
    Reputation
    153
    Profile views
    873
    Posts
    18
    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: Modification of the translated versions

      @katya-nakache if you need a different layout then in that case it's better to create different pages for each language

      posted in Cloud CMS (Pagebuilder
      Joseph Benguira
      Joseph Benguira
    • RE: DOMAIN NOT CONNECTED

      @katya-nakache said in DOMAIN NOT CONNECTED:

      shirat-hayam-8625e8

      I've set your domain as main domain on your project

      then in 1-2H from now you can activate the SSL

      posted in Domains & Emails
      Joseph Benguira
      Joseph Benguira
    • RE: DOMAIN NOT CONNECTED

      @katya-nakache can you please paste here the project APPID so I can check that for you?

      posted in Domains & Emails
      Joseph Benguira
      Joseph Benguira
    • RE: How do I activate SSL on my host site?

      @team-dawes in the project overview screen there is a link to set "Main Domain & SSL"
      and there select the new domain

      posted in How-to
      Joseph Benguira
      Joseph Benguira
    • RE: How do I activate SSL on my host site?

      @team-dawes what you can do is add the domain in your project, then you can set it as main domain and activate the SSL

      If it's a domain you have with another registrar you can follow this guide:
      https://support.appdrag.com/doc/Connecting-a-Domain

      posted in How-to
      Joseph Benguira
      Joseph Benguira
    • RE: Page won't publish - keeps hanging

      @kevin-bullard that code is from sentry to capture errors, and it's in conflict with our own sentry script, that's why it can be saved, but rest of your code is ok only that script is causing the issue

      posted in Cloud CMS (Pagebuilder
      Joseph Benguira
      Joseph Benguira
    • RE: Page won't publish - keeps hanging

      @kevin-bullard your issue is related to your custom html block of code that include this script:
      <script src="https://www.sentrylogin.com/sentry/scripts/Sentry_AJAX.js" >

      remove that and you will be able to publish

      posted in Cloud CMS (Pagebuilder
      Joseph Benguira
      Joseph Benguira
    • RE: How do I activate SSL on my host site?

      @team-dawes indeed we do not support your domain extension ".it.com"

      posted in How-to
      Joseph Benguira
      Joseph Benguira
    • RE: How do I activate SSL on my host site?

      @team-dawes this message happens when domain is already connected to your project, you can't do it twice

      posted in How-to
      Joseph Benguira
      Joseph Benguira
    • RE: Page won't publish - keeps hanging

      @kevin-bullard Can you confirm you are using chrome and not Safari?
      Also can you share an url of the project where you have the issue?

      posted in Cloud CMS (Pagebuilder
      Joseph Benguira
      Joseph Benguira