{"id":2097,"date":"2023-09-09T22:22:16","date_gmt":"2023-09-09T20:22:16","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=2097"},"modified":"2023-09-09T22:22:17","modified_gmt":"2023-09-09T20:22:17","slug":"bluefish-html-editor-und-php-coder-unter-linux","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/09\/bluefish-html-editor-und-php-coder-unter-linux\/","title":{"rendered":"Bluefish &#8211; HTML-Editor und PHP-Coder unter Linux"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Egal ob es um statische Webseiten oder um durch eine Datenbank generierte &#8211; will man sich nicht auf Content Management Systeme (CMS) wie etwa WordPress verlassen, muss man selbst an den Code. WordPress ist zwar nett und auch wirklich sicher, aber nur solange man keine Plugins installiert. Will man selbst an seiner Webseite arbeiten, braucht man nat\u00fcrlich den passenden Editor &#8211; unter Linux ist Bluefish einer der besten solcher Editoren.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Bluefish installieren<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Unter auf Debian basierenden Linux-Distributionen installieren Sie diese Software wie \u00fcblich ganz einfach \u00fcber die\u00a0Paket-Verwaltung\u00a0durch das Paket &#8222;<strong>bluefish<\/strong>&#8222;.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Bluefish nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sie finden diese Software nach der Installation im Anwendungsmen\u00fc unter der Kategorie Entwicklung, alternativ nutzen Sie den Schnellstarter (<kbd>Alt+F2<\/kbd>) oder das\u00a0Terminal\u00a0mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bluefish<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-1024x576.jpg\" alt=\"\" class=\"wp-image-2098\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Grunds\u00e4tzlich kann man mit Bluefish folgende Dokumente bearbeiten:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>C<\/li>\n\n\n\n<li>PHP<\/li>\n\n\n\n<li>HTML5<\/li>\n\n\n\n<li>XHTML<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Reines HTML ist inzwischen verschwunden, nutzt so gesehen ja auch niemand mehr. F\u00fcr Beginner &#8211; man erstellt sich erst einmal ein eigenes Verzeichnis &#8211; dieses dient dann als Grundverzeichnis. Dieses \u00f6ffnet man in Bluefish in der Dateiliste links, es wird links angeklickt und als Basisverzeichnis gesetzt:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-1-1024x576.jpg\" alt=\"\" class=\"wp-image-2100\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-1-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-1-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-1-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-1-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-1.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Hier baut man sich anschlie\u00dfend seine Verzeichnisstruktur auf &#8211; man beginnt meist damit, sich per Vorlage sein erstes Dokument zu erstellen &#8211; dies gelingt ganz einfach \u00fcber das Men\u00fc &#8222;<em>Datei \u2192 Neu aus Template<\/em>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-2-1024x576.jpg\" alt=\"\" class=\"wp-image-2101\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-2-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-2-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-2-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-2-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-2.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Schon erstellt Bluefish die Grundstruktur f\u00fcr das gew\u00e4hlte Format und man kann drauflosarbeiten:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-3-1024x576.jpg\" alt=\"\" class=\"wp-image-2102\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-3-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-3-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-3-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-3-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-3.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Zu Beginn sollte man allerdings noch die Rechtschreibpr\u00fcfung kontrollieren, dies gelingt per Rechtsklick in das Arbeitsblatte und der Wahl von &#8222;<em>Sprache f\u00fcr die Rechtschreibpr\u00fcfung&#8220;:<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-4-1024x576.jpg\" alt=\"\" class=\"wp-image-2103\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-4-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-4-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-4-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-4-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-4.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die Software unterst\u00fctzt nat\u00fcrlich so gut sie kann, so etwa mittels Syntax-Hervorhebung und weiteren Hilfen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-6-1024x576.jpg\" alt=\"\" class=\"wp-image-2104\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-6-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-6-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-6-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-6-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-6.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Auch muss man nicht alles selbst tippen &#8211; wie es sich geh\u00f6rt, hilft die Software auch bei der Gliederung:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-7-1024x576.jpg\" alt=\"\" class=\"wp-image-2105\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-7-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-7-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-7-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-7-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-7.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Bei vielen Dingen muss man nicht tippen, die Software bietet f\u00fcr viele Dinge auch die passenden Schalter in der Werkzeugleiste:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-8-1024x576.jpg\" alt=\"\" class=\"wp-image-2106\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-8-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-8-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-8-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-8-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-8.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die Werkzeuge hier sind in unterschiedliche Themengebiete unterteilt. Oft genutzte Schalter klicken Sie rechts an und w\u00e4hlen &#8222;<em>Zur Schnellstartleiste hinzuf\u00fcgen<\/em>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-9-1024x576.jpg\" alt=\"\" class=\"wp-image-2107\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-9-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-9-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-9-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-9-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-9.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Es wird ein neuer Bereich namens &#8222;<em>Schnellstartleiste<\/em>&#8220; erstellt, alle wichtigen Schalter landen dort &#8211; dort haben Sie anschlie\u00dfend alle wichtigen Werkzeuge zusammen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wie schon beschrieben, die Software bietet alle m\u00f6glichen Hilfen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-10-1024x576.jpg\" alt=\"\" class=\"wp-image-2108\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-10-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-10-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-10-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-10-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/bluefish-10.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Eine der besten Quellen f\u00fcr Einsteiger rund um HTML bietet&nbsp;<a href=\"https:\/\/wiki.selfhtml.org\/wiki\/HTML\/Tutorials\/Einstieg\" target=\"_blank\" rel=\"noreferrer noopener\">SelfHTML<\/a>.<\/p>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"2097\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"2097\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Egal ob es um statische Webseiten oder um durch eine Datenbank generierte &#8211; will man sich nicht auf Content Management Systeme (CMS) wie etwa WordPress verlassen, muss man selbst an den Code. WordPress ist zwar nett und auch wirklich sicher, aber nur solange man keine Plugins installiert. Will man selbst an seiner Webseite arbeiten, braucht [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2108,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[49],"class_list":["post-2097","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-entwicklung","tag-entwicklung"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/2097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=2097"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/2097\/revisions"}],"predecessor-version":[{"id":2109,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/2097\/revisions\/2109"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/2108"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=2097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=2097"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=2097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}