Hello Greg,

Thanks for taking a look!

I haven't run across a problem that required special treatment to please 
the validators, but the bbignore tip sounds like a good one.

On a UTF-8 website, why do you prefer the HTML entity © to ©?  I 
haven't seen it rendered incorrectly in years.

Optimizing the source code when built for production is a good idea. But 
keeping the source code readable in development is important to me.

Don't know about the problem you're referring to by mixing includes with 
project files.  My approach is to keep public files -- that are pushed to 
production -- in public/ and to keep development files that stay local in 
app/  Modules go in app/modules/  Seems to work.

Actually, the current version of Bootstrap is v5.  The Modern Business 
theme I chose for the Sample Website is just a template.  It really has 
nothing to do with Code Modules.  I didn't update jQuery because I didn't 
need it.

You're right about Code Modules being difficult for a beginner.  I wouldn't 
recommend it for them.  It's for intermediate/advanced BBEdit users who 
hand code their static websites, especially those for clients.  Making 
changes in a website written using Code Modules is a lot less prone to 
errors.

Best,


On Wednesday, September 8, 2021 at 7:10:08 AM UTC-7 Greg Raven wrote:

> Wow, what a project! I'd never thought of extending bbincludes anywhere 
> near this far.
>
> I won't pretend that I have anything but a cursory understanding of what 
> you've accomplished, but here are some trivial notes so far:
>
>    - Wrap the "social media" meta information in bbignore tags so when 
>    you check site syntax you don't have multiple errors and warnings per page.
>    - The copyright symbol in the footer is often better as an HTML entity.
>    - I optimize my include files, both to cut down on transfer time and 
>    to make it easier to see where the live content is on the page. This gets 
>    around the indent issue.
>    - I've had terrible experiences storing my includes files inside the 
>    same folder as my project files. You seem to have finessed a way around 
>    that, but I always have separate includes and build folders in each 
>    project, so I have to be really blitzed to "update" an include file.
>    - There's a new version of Bootstrap 4.
>    - There's a new version of jQuery 3.
>    - This approach may be a bit daunting for beginners or those with 
>    simpler websites, but if it works as I hope it does it would get around 
> the 
>    issue with not being able to edit BBEdit template pages and then having 
>    those changes ripple through your site, ALA Dreamweaver.
>
>
> On Tuesday, September 7, 2021 at 2:56:30 PM UTC-7 Christopher Werby wrote:
>
>> Announcing the release of Code Modules — an open source project developed 
>> over years for creating and maintaining websites using BBEdit's include and 
>> variable features.
>>
>> There’s documentation at https://codemodules.net/, a sample demo website 
>> at https://sample.codemodules.net/ and a GitHub repo at 
>> https://github.com/ChristopherWerby/code-modules with the source files 
>> for the sample website together with the starter files.
>>
>> Just released today.  If anything strikes you as wrong or needing 
>> improvement, please let me know.  I hope you find it useful.
>>
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/329e26da-309c-43e1-ba38-952ec39c0646n%40googlegroups.com.

Reply via email to