Highlighted

Dreamweaver and Bootstrap.

Engaged ,
May 14, 2018

Copy link to clipboard

Copied

Hi,

I know that it could sound silly...

The current version of bootstrap now is 4.1.1, and Dreamweaver got the v. 4.0; I think that in two or three weeks awkfully, DW will update the bootstrap plug in to 4.1.1 or whatever, but by the mean time, I face two options:


1. Just work with DW and the v. 4.0 of bootstrap.

2. Work with a code editor (Brackets) and the updated bootstrap v. 4.1.1 and forget DW again.

I don't know if the 4.1.1 has new classes or features that will make me RE-DESIGN whatever I worked in v. 4.0 within the DW. For me is almost same when before I was in the situation of "working with the alfa version v.4 out of DW" or "just work with DW and the v.3.7". At that time your suggestions were to work out of DW because all updatings and development are focusing on the version 4.

Another thing is the PHP version. My hosting plan supports PHP 5.3.3 but the minimum offered by DW is 5.6; is there a lot of difference and problems?

What is your experience? What do you suggest me? Thanks for your patience.

limakid2015  wrote

Another thing is the PHP version. My hosting plan supports PHP 5.3.3 but the minimum offered by DW is 5.6; is there a lot of difference and problems?

You can find out what has changed in the different versions of PHP by looking at the table in the Wikipedia article about PHP.

Dreamweaver's support for PHP 5.6 as a minimum won't make any difference to how your scripts will work. The only difference is that you will see code hints for some new features that aren't supported by your server.

Having said that, you should be getting ready to switch to PHP 7 as a matter of urgency. Your server is running an unsupported version of PHP. That means there will be no patches for any security issues that have been found in the past 4 years or in the future. Even PHP 5.6 reaches the end of its life in December this year. The biggest changes that affect moving to PHP 7 are the removal of the mysql_* and ereg functions. To communicate with a MySQL/MariaDB database, you should use MySQL Improved (mysqli) or PDO. To work with regular expressions, use the preg_* functions instead of ereg. Fix those two issues, and most scripts should work without problem in PHP 7.

TOPICS
Learn Dreamweaver

Views

1.0K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Dreamweaver and Bootstrap.

Engaged ,
May 14, 2018

Copy link to clipboard

Copied

Hi,

I know that it could sound silly...

The current version of bootstrap now is 4.1.1, and Dreamweaver got the v. 4.0; I think that in two or three weeks awkfully, DW will update the bootstrap plug in to 4.1.1 or whatever, but by the mean time, I face two options:


1. Just work with DW and the v. 4.0 of bootstrap.

2. Work with a code editor (Brackets) and the updated bootstrap v. 4.1.1 and forget DW again.

I don't know if the 4.1.1 has new classes or features that will make me RE-DESIGN whatever I worked in v. 4.0 within the DW. For me is almost same when before I was in the situation of "working with the alfa version v.4 out of DW" or "just work with DW and the v.3.7". At that time your suggestions were to work out of DW because all updatings and development are focusing on the version 4.

Another thing is the PHP version. My hosting plan supports PHP 5.3.3 but the minimum offered by DW is 5.6; is there a lot of difference and problems?

What is your experience? What do you suggest me? Thanks for your patience.

limakid2015  wrote

Another thing is the PHP version. My hosting plan supports PHP 5.3.3 but the minimum offered by DW is 5.6; is there a lot of difference and problems?

You can find out what has changed in the different versions of PHP by looking at the table in the Wikipedia article about PHP.

Dreamweaver's support for PHP 5.6 as a minimum won't make any difference to how your scripts will work. The only difference is that you will see code hints for some new features that aren't supported by your server.

Having said that, you should be getting ready to switch to PHP 7 as a matter of urgency. Your server is running an unsupported version of PHP. That means there will be no patches for any security issues that have been found in the past 4 years or in the future. Even PHP 5.6 reaches the end of its life in December this year. The biggest changes that affect moving to PHP 7 are the removal of the mysql_* and ereg functions. To communicate with a MySQL/MariaDB database, you should use MySQL Improved (mysqli) or PDO. To work with regular expressions, use the preg_* functions instead of ereg. Fix those two issues, and most scripts should work without problem in PHP 7.

TOPICS
Learn Dreamweaver

Views

1.0K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 14, 2018 0
Adobe Community Professional ,
May 14, 2018

Copy link to clipboard

Copied

Use the CDN as described in http://getbootstrap.com/docs/4.1/getting-started/introduction/

The document will look like

<!doctype html>

<html>

<head>

  <meta charset="utf-8">

  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>Untitled Document</title>

  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">

</head>

<body>

  <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>

  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>

  <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>

</body>

</html>

From there, you can use the Dreamweaver Insert panel to add Bootstrap 4 components.

Edit: There are subtle differences, the main one being the form validation styles.


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 14, 2018 2
LEGEND ,
May 15, 2018

Copy link to clipboard

Copied

limakid2015  wrote

Another thing is the PHP version. My hosting plan supports PHP 5.3.3 but the minimum offered by DW is 5.6; is there a lot of difference and problems?

You can find out what has changed in the different versions of PHP by looking at the table in the Wikipedia article about PHP.

Dreamweaver's support for PHP 5.6 as a minimum won't make any difference to how your scripts will work. The only difference is that you will see code hints for some new features that aren't supported by your server.

Having said that, you should be getting ready to switch to PHP 7 as a matter of urgency. Your server is running an unsupported version of PHP. That means there will be no patches for any security issues that have been found in the past 4 years or in the future. Even PHP 5.6 reaches the end of its life in December this year. The biggest changes that affect moving to PHP 7 are the removal of the mysql_* and ereg functions. To communicate with a MySQL/MariaDB database, you should use MySQL Improved (mysqli) or PDO. To work with regular expressions, use the preg_* functions instead of ereg. Fix those two issues, and most scripts should work without problem in PHP 7.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 15, 2018 2