* Websites with drupal and php @ 2024-12-20 20:58 Heime via Users list for the GNU Emacs text editor 2024-12-27 10:46 ` Jean Louis 0 siblings, 1 reply; 3+ messages in thread From: Heime via Users list for the GNU Emacs text editor @ 2024-12-20 20:58 UTC (permalink / raw) To: Heime via Users list for the GNU Emacs text editor Have got a work assignment for a website where they are currently using wordpress. Been thinking about drupal with php. What is the Gnu Project current advice for good websites? Sent with Proton Mail secure email. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Websites with drupal and php 2024-12-20 20:58 Websites with drupal and php Heime via Users list for the GNU Emacs text editor @ 2024-12-27 10:46 ` Jean Louis 2024-12-28 12:25 ` Heime via Users list for the GNU Emacs text editor 0 siblings, 1 reply; 3+ messages in thread From: Jean Louis @ 2024-12-27 10:46 UTC (permalink / raw) To: Heime; +Cc: Heime via Users list for the GNU Emacs text editor * Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> [2024-12-21 00:00]: > Have got a work assignment for a website where they are currently > using wordpress. Been thinking about drupal with php. What is the > Gnu Project current advice for good websites? My personal advice is using GNU Emacs. Not PHP. Not Drupal. Not WordPress. GNU Emacs 😎 First I was using straight HTML, then asciidoc and SGML back in time, simple files and generation of connected website, later somewhere 2000-2004 I was using M4 macro processor, which I find very hand for HTML pages. PHP started as a scripting language in 1995, PHP or "Personal Home Page" made out of Perl programming language. Later it changed to its own programming language. I find all HTML programming unreliable for any future-proof. If I would use Common Lisp, I guess it would stay functional even after 10 or 30 years. Emacs Lisp is pretty stable over the time, though too many changes are coming and it cannot really stand the test of the future, to remain stable over time. m4 as macro processor stays the same! Whatever websites I made with it in 2004 they are same now in 2024, imagine! I would just include files, navigation, footers: m4_include(basics.m4) All the templates can be switched easily. I did not even write HTML, I have used m4 macros for that. Like this: m4_define(`H1',`<h1>$1</h1>') There are many Emacs tools to make website pages. You could use Org for example, it generates good pages! fniessen/org-html-themes: Transform your Org mode files into stunning HTML documents in minutes with our Org mode HTML theme. Elevate your productivity and impress your readers! #orgmode #html #theme #productivity #design https://github.com/fniessen/org-html-themes?tab=readme-ov-file then you could just write Org and export to HTML, job done! BREAK -- look at this guy: Emacs Boost Training https://emacsboost.com/en/ Org-THTML: An HTML template system for org-mode https://juanjose.garciaripoll.com/blog/org-mode-html-templates/index.html Org Themes collection https://olmon.gitlab.io/org-themes/ look there, so many nice templates! Is that something you can use? I don't use them, I use Org and then convert it to HTML and then use ANY HTML template. Nobody even knows it was written in Org mode. Though that is not my markup statistics, for website I use mostly Markdown. I was one among first on Internet to use Markdown, this is because at the time I was heavy user of Asciidoc and m4. As Website Revision System programmer I have been using many tools, that is why it is simple to me to provide mind map on how to proceed: Think this way: - you need HTML template; find one; - you need various pages, you can simply write files; - all pages must be somehow connected to each other, that means there must be navigation for each page; - make Emacs Lisp to generate all pages by using template and by inserting navigation; Rely on yourself, not on others. I have used a single Perl program for that, now I am using 🐃 Emacs. I write a page, press a key, and it gets published. Doing things my own way always passes the test over time. Doing the exercise yourself will help you in future. Basic HTML template is here: <!DOCTYPE html> <html lang="⟦ languages_extension ⟧"> <head> <meta charset="utf-8"> <title>⟦ (xml-escape wrs::title) ⟧</title> </head> <body> ⟦ rcd::text ⟧ ⟦ after_content ⟧ ⟦ inquiry ⟧ </body> </html> I am using the RCD Template Interpolation System for Emacs: https://hyperscope.link/3/7/1/3/3/RCD-Template-Interpolation-System-for-Emacs.html As that way I can interpoloate those things like ⟦ languages_extension ⟧ or ⟦ after_content ⟧ by using variables. I can insert navigation. It works well for me, I receive leads and clients all the time. -- Jean Louis ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Websites with drupal and php 2024-12-27 10:46 ` Jean Louis @ 2024-12-28 12:25 ` Heime via Users list for the GNU Emacs text editor 0 siblings, 0 replies; 3+ messages in thread From: Heime via Users list for the GNU Emacs text editor @ 2024-12-28 12:25 UTC (permalink / raw) To: Jean Louis; +Cc: Heime via Users list for the GNU Emacs text editor Sent with Proton Mail secure email. On Friday, December 27th, 2024 at 10:46 PM, Jean Louis <bugs@gnu.support> wrote: > * Heime via Users list for the GNU Emacs text editor help-gnu-emacs@gnu.org [2024-12-21 00:00]: > > > Have got a work assignment for a website where they are currently > > using wordpress. Been thinking about drupal with php. What is the > > Gnu Project current advice for good websites? > > > My personal advice is using GNU Emacs. > > Not PHP. > > Not Drupal. > > Not WordPress. > > GNU Emacs 😎 > > First I was using straight HTML, then asciidoc and SGML back in time, > simple files and generation of connected website, later somewhere > 2000-2004 I was using M4 macro processor, which I find very hand for > HTML pages. > > PHP started as a scripting language in 1995, PHP or "Personal Home > Page" made out of Perl programming language. Later it changed to its > own programming language. > > I find all HTML programming unreliable for any future-proof. > > If I would use Common Lisp, I guess it would stay functional even > after 10 or 30 years. Emacs Lisp is pretty stable over the time, > though too many changes are coming and it cannot really stand the test > of the future, to remain stable over time. > > m4 as macro processor stays the same! Whatever websites I made with it > in 2004 they are same now in 2024, imagine! > > I would just include files, navigation, footers: > > m4_include(basics.m4) > > All the templates can be switched easily. > > I did not even write HTML, I have used m4 macros for that. > > Like this: > m4_define(`H1',`<h1>$1</h1>') > > > There are many Emacs tools to make website pages. You could use Org > for example, it generates good pages! > > fniessen/org-html-themes: Transform your Org mode files into stunning HTML documents in minutes with our Org mode HTML theme. Elevate your productivity and impress your readers! #orgmode #html #theme #productivity #design > https://github.com/fniessen/org-html-themes?tab=readme-ov-file > > then you could just write Org and export to HTML, job done! > > BREAK -- look at this guy: > > Emacs Boost Training > https://emacsboost.com/en/ > > Org-THTML: An HTML template system for org-mode > https://juanjose.garciaripoll.com/blog/org-mode-html-templates/index.html > > Org Themes collection > https://olmon.gitlab.io/org-themes/ > > look there, so many nice templates! > > Is that something you can use? What does the Gnu Project and FSF use for their website? > I don't use them, I use Org and then convert it to HTML and then use > ANY HTML template. Nobody even knows it was written in Org > mode. Though that is not my markup statistics, for website I use > mostly Markdown. I was one among first on Internet to use Markdown, > this is because at the time I was heavy user of Asciidoc and m4. > > As Website Revision System programmer I have been using many tools, > that is why it is simple to me to provide mind map on how to proceed: > > Think this way: > > - you need HTML template; find one; > > - you need various pages, you can simply write files; > > - all pages must be somehow connected to each other, that means there > must be navigation for each page; > > - make Emacs Lisp to generate all pages by using template and by > inserting navigation; > > Rely on yourself, not on others. > > I have used a single Perl program for that, now I am using 🐃 Emacs. > > I write a page, press a key, and it gets published. > > Doing things my own way always passes the test over time. > > Doing the exercise yourself will help you in future. > > Basic HTML template is here: > > <!DOCTYPE html> > > <html lang="⟦ languages_extension ⟧"> > > <head> > > <meta charset="utf-8"> > > <title>⟦ (xml-escape wrs::title) ⟧</title> > > </head> > > <body> > > ⟦ rcd::text ⟧ > ⟦ after_content ⟧ > ⟦ inquiry ⟧ > </body> > > </html> > > > I am using the > > RCD Template Interpolation System for Emacs: > https://hyperscope.link/3/7/1/3/3/RCD-Template-Interpolation-System-for-Emacs.html > > As that way I can interpoloate those things like ⟦ languages_extension ⟧ > or ⟦ after_content ⟧ by using variables. > > I can insert navigation. It works well for me, I receive leads and > clients all the time. > > -- > Jean Louis ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-12-28 12:25 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-12-20 20:58 Websites with drupal and php Heime via Users list for the GNU Emacs text editor 2024-12-27 10:46 ` Jean Louis 2024-12-28 12:25 ` Heime via Users list for the GNU Emacs text editor
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.