Navigation

    APPDRAG Community

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

    159
    Reputation
    154
    Profile views
    881
    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: Duplicate Root Domain and index.html versions

      Hi @kirk-brown, I tried both urls and in both case I'm not redirected byt stays on the /index.html url.

      one way to do that is to add a block of script if your footer with this content

      if (window.location.pathname.endsWith('/index.html')) {
        window.location.href = window.location.origin + '/';
      }
      
      posted in Cloud CMS (Pagebuilder
      Joseph Benguira
      Joseph Benguira
    • RE: Getting menu bar on all pages

      @naomi-crain said in Getting menu bar on all pages:

      hosen landing page as the template because I don't want the home page header on those pages. But I now can't see a way to get the site menu bar to appear on those pages. Is there an easy way to make this happen?

      Yes you can add a menu section by clicking on the "+" button in the left side > Section > Header/Footer

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

      @team-dawes I can see you site is working with SSL:
      https://www.swaysmarts.com/

      posted in How-to
      Joseph Benguira
      Joseph Benguira
    • RE: Delete an accout

      Hi @nicolas-flam, first move the attached domain to any other app you have, then you can delete the app

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

      @team-dawes yes as indicated in the screenshot you need to create a cname form www on your domain registrar and put the value indicated in the screenshot

      I can see it's not done currently here:
      https://dnschecker.org/#CNAME/www.swaysmarts.com

      posted in How-to
      Joseph Benguira
      Joseph Benguira
    • RE: Duplicate Root Domain and index.html versions

      Hi @kirk-brown, Google will select only 1 version in the end

      you can see in google results, that google is presenting the version without index.html
      https://www.google.com/search?q=site%3Aoutdoorsplendor.com

      posted in Cloud CMS (Pagebuilder
      Joseph Benguira
      Joseph Benguira
    • RE: New pricing

      Hi @françois-wartelle-0,
      Our regular pricing is still available, when you are inside an app you can select the BASIC plan ($10/month) or the PRO plan ($20)

      posted in Cloud CMS (Pagebuilder
      Joseph Benguira
      Joseph Benguira
    • RE: How to change this color ?

      Hi @katya-nakache,
      double click on the menu, then edit the desktop style > border bottom color

      posted in Cloud CMS (Pagebuilder
      Joseph Benguira
      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