Router and modem combo

Naughty Modems and Routers

2013.06.07 21:49 BoChiggedyBoDiddley Naughty Modems and Routers

For all your Router and Modem needs
[link]


2016.11.05 11:51 mmd0xFF Linux Malware

Posts of Linux / ELF malware and their botnets for RE purpose. This subreddit is modded, the site's contents are MalwareMustDie.org's @unixfreaxjp Linux threat research material.
[link]


2010.09.30 15:16 scottread1 HomeNetworking, community based networking help

HomeNetworking is a place where anyone can ask for help with their home or small office network. No question is too small, but please be sure to read the rules before asking for help. We also welcome pretty much anything else related to small networks.
[link]


2023.06.05 12:55 Evanz111 Anyone else find it fun to try and beat a boss in a single combo?

Anyone else find it fun to try and beat a boss in a single combo?
That red bar getting bigger and bigger feels so satisfying, especially when fighting the Bandersnatch in the break.
It’d be cool if they added a difficulty modifier where enemy health regenerates gradually whenever there isn’t a red bar indicating recent damage. Having to constantly keep up the aggression would be a pretty fun challenge.
submitted by Evanz111 to Forspoken [link] [comments]


2023.06.05 12:55 LittlebitsDK Hornslet Train Tracks Worldwide

Has anyone been "crazy" enough to do a worldwide save with Hornslet Train Tracks and stations? They look awesome but the snapping hates me and figured I would check if anyone had already done it and uploaded a save (haven't found one though) the tracks looks amazing and the combo of raised and ground with concrete looks amazing... *fingers crossed*
Big thanks to Hornslet too and if you haven't seen his amazing work then look here, remember a tissue to wipe drool... https://satisfactory-calculator.com/en/blueprints/index/index/idU/26026/useHornslet
submitted by LittlebitsDK to SatisfactoryGame [link] [comments]


2023.06.05 12:54 R_Jordan73 Help please! Satellites very slow

Hi all, I hope you can help me. I have an RBS750 system that has been working perfectly until yesterday. I moved one of the satellite units which seemed to connect with no problem but then the internet connection started intermittently cutting out. This also affected the second satellite which was working fine up until this point. I have now moved the satellite 1 back to its original location, but the router rebooted and was stuck on white LED overnight with no internet. I have factory reset and the router is now working fine - I get 750Mbps over wifi with it. I have removed both satellites from the router via the Orbi web portal. When I repower the satellite it automatically reconnects to the router (I can’t connect to it as “add Orbi satellite”). The satellites gives 5Mbps over cat6 Ethernet connection. Previously both satellites were giving 800Mbps over Ethernet in exactly the same positions. Router firmware is V4.6.14.3_2.3.12.
I’m going crazy at this point so any help would be amazing!
submitted by R_Jordan73 to orbi [link] [comments]


2023.06.05 12:53 Azhrei Audio interference on arctis 7 wireless

Three nights ago I joined friends on Discord and as soon as I switched to the headset, I could hear voices in the background. It sounded like a radio station. I didn't get a chance to really look into it, and kind of forgot about it until the following day when I joined them again. Voices low in the background. After listening to it for a while I realised I was hearing a family member in a phone conversation that was currently going on in another part of the house. Don't ask me how a mobile phone call was coming through my headset, but it was. I thought there might be some way of changing the frequency the headset is using, but apparently not. Looking into the problem, I managed to resolve it by changing the WiFi setting in my router from 20/40MHz to 20MHz.
Until last night. I joined and again I was hearing voices. I changed the WiFi setting again and again, it went away. Changed back to 20/40MHz, it went away. So am I now going to have to do this every time I want to play online with friends? There has to be something I can do about it? I've had the headset for two or three years now and this is the first time I've heard anything but what I'm meant to hear coming from it.
I tried contacting Steelseries but they do everything they can on their site to prevent you from doing that. The "Contact Us" option only opens a bunch of suggestions about possible solutions to programs I don't have. I can't find anywhere to create a ticket. The damn system just won't let me. When I'm logged in it gives me the helpful notice that I don't have any tickets, and offers me a way of creating one - by going through the same system again.
So I'm here as a last resort, but also because I expect people on Reddit will actually have useful suggestions about this as opposed to Steelseries' useless support suggestions.
submitted by Azhrei to steelseries [link] [comments]


2023.06.05 12:51 prodotgroup123 Wireless Keyboard and Mouse Combo Prodot

Wireless Keyboard and Mouse Combo Prodot submitted by prodotgroup123 to u/prodotgroup123 [link] [comments]


2023.06.05 12:49 Efficient-Pick-7567 Realtek WiFi 7 and WiFi 6 roadmap for routers and clients

Realtek WiFi 7 and WiFi 6 roadmap for routers and clients submitted by Efficient-Pick-7567 to u/Efficient-Pick-7567 [link] [comments]


2023.06.05 12:49 independentTeamwork jester cant encore himself?

I read about how jester is good with finale because he can encore himself so he ends the current turn and starts the next turn so he can do the solo plus finale move combo. But I cant click encore on myself? Which makes him way worse with this playstyle. Or am I missing something?
submitted by independentTeamwork to darkestdungeon [link] [comments]


2023.06.05 12:48 KeyCarpenter7303 Progression is super satisfying

For me personally, they nailed this aspect of the game.
I'm only about to enter WT4 (hopefully) so I don't know if this feeling will be kept up, but at the moment I can feel my character improving in tangible ways basically by the hour.
I'm playing a frozen orb sorc (not a meta build from what I know), so that may play into it, but I just want to describe my journey through the story a bit, and why progression actually feels so good to me. Sorry for the novel, but I felt like it was important to be detailed:
- You start the game of with barely any resource generation and no +maximum mana so you can't actually use it frozen orb that much. To top it off, it is hard to aim and does only half its damage when you misfire or enemies are too close. I started feeling fairly weak compared to some of the OP experiences I had in beta, but the combat was satisfying so I didn't mind.
- Over the first couple of levels after unlocking frozen orb, you add some essentialy abilities and passives: It becomes easier to chill and freeze enemies, enabling more opportunities to fire frozen orb properly. You unlock enchantments, meaning I could directly trigger frozen orb with other skills and see a huge damage jump right there.
- At some point mid campaign I found some items that apparently gave me some giga DPS boost. I found a big vulnerability multiplier on a 2H staff and rings, as well as a couple of items with damage to chilled and CCed enemies. I actually kept these for a long time because they were hard to roll. I remember only replacing some item power ~200 items when I started to find sacred items.
- I added more stuff that made a significant difference from the skill tree. I went with ice blades (not to be confused with ice shards), still don't know if that's a good combo with frozen orb but it made a big improvement. At this point, I basically added some more buttons to press that trigger more frozen orbs, I could see that vulnerability uptime on elites was significantly higher, and my defense took a big bump because you can rotate barriers with all those cooldowns using some skill tree passives.
- I think at this point I added some gloves and helmet that gave +1 to frozen orb and +1 to ice blades (respectively). It seems like a small thing but it made a noticeable bump in my damage. I think it scales the base damage of the skills so it's like a separate multiplier.
- From time to time since I was quite undereleveled for story progress (I remember getting into ilvl 45 story areas at level 35 or something) I would add some generic but good looking generic aspects from dungeons to my build. Since they were generic and the dungeon aspects have min rolls, the impact on my DPS wasn't huge but it allowed me to keep up and it certainly never felt like my build was going backwards because of level scaling during the story like some people are describing.
- I noticed that just because of how combat goes I was walking around a lot and not actually casting frozen orbs (like sometimes you can cast it, but you know it will not do good damage because you are not positioned properly. Or you need to dodge stuff etc.). On some occassions this led me to overcap mana leading to wasted efficiency. At this point I specced some points into max mana on the skill tree and got a helmet with a big +mana affix in addition to +ice blades. This seems like a pretty small change but it actually had quite a big impact on how good the build felt. Because now you would sometimes freeze elites to be in proper position, use the other abilities and be back at full mana after that, and then blast like 10+ frozen orbs in a row because of the combination of max mana + mana regen + 10% free proc from passives.
- I think somewhere around act 5 or near the end I found a legendary that made my key passive (that gives you 10% chance to get a free cast of frozen orb) basically trigger twice. So you get two free casts instead of one when it procs. Now this was an amazing addition in terms of how the build feels and this is why, valid criticisms notwithstanding, I love powerful legendary affixes like this. Basically you get lucky sometimes in combat and then get to totally pew pew pew for a few seconds because your mana keeps regenerating while you are casting those free frozen orbs. I think this probably bumped my DPS by a significant but not huge amount (maybe 5-10%?), but its impact on game feel was just tremendous.
- I got a random drop for a legendary that increases my CC duration by 80% while I'm healthy. It seems like only a situational change that isn't all that useful in a lot of scenarios but it actually felt amazing when I tried it out in practice. When elites get frozen they stay frozen SO LONG. I would now sometimes have some random added moment where I could delete some frozen elites where previously there would be an added cycle of running or teleporting away and going through another round of frozen orbs.
- In addition to all of this, I always noticed a big bump when I sometimes find good upgrades for my main weapon. This would take a while because I couldn't go for something that has +10 DPS because if the stats it actually rolled were too bad. I'm not losing a 25% vulnerability damage multiplier just because the weapon is goes from 500 to 510 DPS.
- Overall there were a few smaller moments that felt quite impactful for progression, but I would go on forever if I listed them all here. For example at the end of the story I got this unique that refunded half my frozen orb mana cost if it hits 5 or more enemies. Not useful for all scenarios but quite impactful for game feel and DPS output yet again, and so on.
I'm cutting it off here instead of describing progression to WT3 and then through WT3 because the post would get twice as long, but you get the picture. The paragon board adds a lot with regards to plugging obvious numeric holes in your build (for me this was crit related stuff and main stat) so there's an obvious power progression there. I feel like some item slots are indeed a bit boring (chest?) but it might just be that I'm not interested in scaling defensives as I am in scaling offensives. Maybe that will change once I inevitably try HC. However besides weapons I still look forward to checking helmets, gloves and amulets in particular. There are some giga rolls possible with these that I know but they are very hard to roll. Ami with +all skills, mana cost reduction, %int and damage or something? yes please
Overall I just wanted to present this as a counterpoint to the other post on the front page. Their criticism is probably legitimate but I just wanted to make sure Blizzard doesn't get the wrong impression and thinks that everyone feels like this.
submitted by KeyCarpenter7303 to Diablo [link] [comments]


2023.06.05 12:47 ytzy Why are 90% players trash?

I was using the title Lethal trash since i am Rogue but then i was doing the world boss and was amazed how trash this community is

Legendary trash
Lonely trash
Magic trash
Early trash

on a serious note what are some of the best title combos you saw in game? :P
edit: i am not sorry for the bait title ( ͡° ͜ʖ ͡°)
submitted by ytzy to diablo4 [link] [comments]


2023.06.05 12:44 OUTLANDER_ZOMB13 $3000 Gaming Machine

What will you be doing with this PC? Be as specific as possible, and include specific games or programs you will be using.
What is your maximum budget before rebates/shipping/taxes?
When do you plan on building/buying the PC? Note: beyond a week or two from today means any build you receive will be out of date when you want to buy.
What, exactly, do you need included in the budget? (ToweOS/monitokeyboard/mouse/etc)
Which country (and state/province) will you be purchasing the parts in? If you're in US, do you have access to a Microcenter location?
If reusing any parts (including monitor(s)/keyboard/mouse/etc), what parts will you be reusing? Brands and models are appreciated.
Will you be overclocking? If yes, are you interested in overclocking right away, or down the line? CPU and/or GPU?
Are there any specific features or items you want/need in the build? (ex: SSD, large amount of storage or a RAID setup, CUDA or OpenCL support, etc)
What type of network connectivity do you need? (Wired and/or WiFi) If WiFi is needed and you would like to find the fastest match for your wireless router, please list any specifics.
Do you have any specific case preferences (Size like ITX/microATX/mid-towefull-tower, styles, colors, window or not, LED lighting, etc), or a particular color theme preference for the components?
Do you need a copy of Windows included in the budget? If you do need one included, do you have a preference?
Extra info or particulars:
Optical Drive
submitted by OUTLANDER_ZOMB13 to buildapcforme [link] [comments]


2023.06.05 12:42 patchmcgee69 Am I in bridge mode?

Recently switched to fiber and have the Gateway 6 modem/router. I have Ethernet connection from the Gateway 6 to my Google Nest mesh router. In addition to the Nest router, I have four mesh pods placed throughout the house. I have a strong Wi-Fi signal via my mesh network throughout the house. However, when I go into Google Home app to check IP addresses on the pods, the Google Nest router shows the WAN address starting with 69 and the LAN address starting with 192. And the other four pods have LAN addresses starting with 192. These are the addresses AFTER calling customer service and asking to be put into bridge mode (and then calling again later to a different customer service rep just to confirm that bridge mode was enabled (this rep confirmed that it was) So my question is this: are those the addresses I should be seeing on my mesh routepoints when the Gateway 6 has been enabled for bridge mode? Or am I still not enabled for bridge mode?
submitted by patchmcgee69 to OPTIMUMFIBER [link] [comments]


2023.06.05 12:40 code_hunter_cc Download a ReactJS object as a file

Ajax
I am building an application with a ReactJS front end that connects to an Express API server. Calls to the API are made using Ajax.
In one of my views, a table loads with "Export" links on each row. The Export links lead to a React route that calls an API endpoint which provides a CSV file to download.
If I hit the API endpoint directly with a valid request (outside the React app), a file download is initiated in my browser. Perfect! However, following the Export link from the React page attempts to load the view where the call to the API occurs. The table disappears from the view and is replaced by the file contents (on purpose to prove I have the data) but no file is downloaded.
Can I force a download of the contents of the response object as a file?Could this take place in the ajax success callback?I made an attempt with javascript but I'm struggling with the React virtual DOM...I assume this must be pretty straight forward but I'm stumped.
EDIT: Comments by @Blex helped me solve this issue! The solution is added to the code snippet...
Here is the JSX that receives the data:
module.exports = React.createClass({ mixins: [Router.State], getInitialState: function() { return { auth: getAuthState(), export: [], passedParams: this.getParams() }; }, componentDidMount: function(){ $.ajax({ type: 'GET', url: ''+ API\_URL +'/path/to/endpoint'+ this.state.passedParams.id +'/export', dataType: 'text', headers: { 'Authorization': 'Basic ' + this.state.auth.base + '' }, success: function (res) { // can I force a download of res here? console.log('Export Result Success -- ', res); if(this.isMounted()){ console.log('Export Download Data -- ', res); this.setState({export: res[1]}); // adding the next three lines solved my problem var data = new Blob([res], {type: 'text/csv'}); var csvURL = window.URL.createObjectURL(data); //window.open(csvURL); // then commenting out the window.open & replacing // with this allowed a file name to be passed out tempLink = document.createElement('a'); tempLink.href = csvURL; tempLink.setAttribute('download', 'filename.csv'); tempLink.click(); } }.bind(this), error: function (data) { console.log('Export Download Result Error -- ', data); } }); }, render: function(){ console.log('exam assignment obj -- ', this.state.passedParams.name); var theFileContents = this.state.export; return(
{theFileContents} // this loads the contents // can I auto download theFileContents?
) }});
Answer link : https://codehunter.cc/a/ajax/download-a-reactjs-object-as-a-file
submitted by code_hunter_cc to codehunter [link] [comments]


2023.06.05 12:39 RedneckNast Looking to retain original pricing

Hi,
I've been a customer with Xfinity for almost 4 years with my own account. I was given pricing of $76.05 for Gigabit speed, I rent the modem/router through Comcast, and I use auto-pay. I've never missed a payment.
I received an updated bill from Xfinity telling me I had to now pay $96.05 a month. I would like to keep my original bill of $76.05 a month.
Can you please help? Any advice? Thank you.
submitted by RedneckNast to Comcast_Xfinity [link] [comments]


2023.06.05 12:38 DonkeySpunkYUM Eruption into greatxe R2 “combo”

Eruption into greatxe R2 “combo”
Sorry if this is old news but I found this fun lil combo for roll catching with eruption and greataxes. It seems to work pretty consistently so far with the crescent moon axe and executioners greataxe. The only problem is actually landing eruption lol
submitted by DonkeySpunkYUM to EldenRingPVP [link] [comments]


2023.06.05 12:38 Asleep-Childhood-471 The Ultimate Brownie Hack: How to Make the Perfect Crispy Topping

The Ultimate Brownie Hack: How to Make the Perfect Crispy Topping
After adding your toppings and your choice of glaze, it’s time for the final bake. Due to the little baking time, the brownies won’t be overdone but the topping will crisp up After adding the flour and cocoa powder, refrain from overbeating the batter. For a delicious salty-sweet combo, you may consider adding crushed pretzels, caramel drizzle, or just a sprinkling of sea salt. You can make brownies which have a delectable crispy topping in addition to a creamy and fudgy base by using this ideal brownie hack
SOURCR: https://blogstudiio.com/the-ultimate-brownie-hack-how-to-make-the-perfect-crispy-topping/
https://preview.redd.it/xdcedptag64b1.jpg?width=750&format=pjpg&auto=webp&s=451f419f63838eb8efce8251e3b70b59e36111bb
submitted by Asleep-Childhood-471 to u/Asleep-Childhood-471 [link] [comments]


2023.06.05 12:36 hazelthreadseo Elegant Bridal Purses and Clutches by HazelThread: Perfect Accessories for Your Big Day

Elegant Bridal Purses and Clutches by HazelThread: Perfect Accessories for Your Big Day

https://preview.redd.it/rvxw24eng64b1.jpg?width=800&format=pjpg&auto=webp&s=af47a4df4be30e8ff6224d5b8b3299008389e68f
At HazelThread, we understand that every detail matters on your wedding day. Our collection of bridal purses and clutches is designed to complement your bridal ensemble with elegance and sophistication. Handcrafted with care and attention to detail, our purses and clutches feature exquisite fabrics, intricate embellishments, and practical designs to hold your essentials with style. Whether you prefer a classic clutch or a dainty purse, our range offers a variety of options to suit your personal taste and wedding theme. Trust HazelThread to provide the perfect accessory to complete your bridal look and carry your essentials gracefully throughout your special day.
submitted by hazelthreadseo to u/hazelthreadseo [link] [comments]


2023.06.05 12:33 DonkeySpunkYUM Eruption into greataxe R2 roll catch “combo”

Eruption into greataxe R2 roll catch “combo”
Sorry if this is old news but, I found this lil combo that seems to work pretty consistently if your enemy instantly rolls out of the attack. It’s worked for me on the executioner greataxe and the crescent moon axe so far
submitted by DonkeySpunkYUM to badredman [link] [comments]


2023.06.05 12:33 moonniedarko Is Snapfire sleeper op?

Pros: Universal hero with good damage and projectile speed for denies, good lv 2 spells with kill potential, tanky, greaves buyer, good teamfight presence, potential save with cookie, insanely good wave pushing especially with shard, can scale and become a physical damage late game threat with crit + lil shredder combo Cons: short range spells and attack, sometimes difficult to land the cookie, ult easily cancelled
I feel like she has a similar role to Techies in lane, but evolves to something more utility oriented. Idk how to play Techies so I'm spamming her lately with a lot of success
submitted by moonniedarko to TrueDoTA2 [link] [comments]


2023.06.05 12:29 Spitfire_ex Unable to access web page and game server from home PC through VPS connected with WireGuard

Hello. I'm new to self-hosting so please correct me if I get the terms mixed up. Basically, I have the following setup for hosting a website with apache2 and a Valheim server from my home PC:
Ubuntu PC > Port Forwarded Router (80, 443, 2456-2458) > DNS (NameCheap) 
This setup works great but I wanted to hide my IP by using WireGuard and a VPS. Therefore, I set up a VPS in AWS and connected it to my home PC. So my setup now looks like this:
Ubuntu PC > WireGuard > VPS > DNS (NameCheap) 
I followed the instructions from this site: How To Set Up WireGuard on Ubuntu 22.04 DigitalOcean and I can ping both devices no problem. I also checked my local PC with ping -C google.com and there was also no problem. However, I can't access my webpage and my Valheim server from the internet using my domain name or with the VPS public IP.
Here are my config files for WireGuard:
VPS:
[Interface] Address = 10.8.0.1/24 MTU = 1400 SaveConfig = true PostUp = ufw route allow in on wg0 out on eth0 PostUp = iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE PreDown = ufw route delete allow in on wg0 out on eth0 PreDown = iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE ListenPort = 51820 PrivateKey =  [Peer] PublicKey = 14H1O5JnrEOFd0sszYDyS+dBeDXhcdiOATq7DstbbHo= AllowedIPs = 10.8.0.2/32 Endpoint = :34154 
Home PC:
[Interface] PrivateKey =  Address = 10.8.0.2/24 MTU = 1400 [Peer] PublicKey = dC9F4Lm8Gwst6l3u3xuHX0XIyaOhwl5Wx6eRLnGNl3U= AllowedIPs = 0.0.0.0/0 Endpoint = :51820 
I have allowed the following in UFW Home PC:
22/tcp 80/tcp 443 2456/udp 2457/udp 2458/udp Apache Full 
and the following on my VPS:
51820/udp OpenSSH 80/tcp 443 2456/udp 2457/udp 2458/udp 
I have also allowed the above ports both in the AWS instance as well as in my DNS settings in NameCheap and created an A record pointing to my AWS instance. However, I still can't access anything from my home server.
Please share your thoughts on this problem. Thank you very much.
submitted by Spitfire_ex to WireGuard [link] [comments]


2023.06.05 12:29 lubaz60 Who does more damage, Ken or Ryu? (sf6)

Hi, I’m new to the game and in fighting games I tend to gravitate towards either all rounders or rush down characters that do a shit ton of damage. I’ve tried both ken and ryu and enjoy them both, but who do you guys think does bigger damage more consistently, and who do you think has the highest damage potential and combo variety?
submitted by lubaz60 to StreetFighter [link] [comments]


2023.06.05 12:27 No_Independence_670 I’m writing the pattern for my dragon hat at the moment so I’ve made him in a few different colour combos so people can see a few different possibilities. Aqua, Flame, Purple Haze and Forest. I need to do one more. What colours would you like to see? I was thinking of pinks and silver?

I’m writing the pattern for my dragon hat at the moment so I’ve made him in a few different colour combos so people can see a few different possibilities. Aqua, Flame, Purple Haze and Forest. I need to do one more. What colours would you like to see? I was thinking of pinks and silver? submitted by No_Independence_670 to Brochet [link] [comments]


2023.06.05 12:24 DismalBother7602 How to create a “HELLO WORLD” module in Magento 2?

In this blog post, we have explained how to easily create Hello World module in Magento 2. Take a note that the concept of local/ community/ core/ folders only existed in Magento 1 and we don’t use them in Magento 2.

Follow the below steps to create HELLO WORLD module

All of our custom modules in Magento 2 go under the app/code directory. The first step towards create module magento 2 is to create a folder inside your project directory named after the module. This will be where all the files related to the module will reside. The modules have a 2 part naming structure, i.e, Namespace/Module. This is so that the modules can be organized more efficiently. So, assuming our Namespace is “Codilar” and our first module will be called “HelloWorld”, the directory structure for our module is gonna be app/code/CodilaHelloWorld/…
So now that we’ve established the directory structure, let’s make a simple module which will show “Hello World” on the content section of the page when we hit the URL “http://mywebsite.com/helloworld/”.
Ok first thing’s first. This is going to be our directory structure for the complete project
So lets start with the registration.php file. app/code/CodilaHelloWorld/registration.php
\Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE,
'Codilar_HelloWorld', __DIR__
);
Every module must contain this file. This basically tells Magento “Please register my module, it’s name is Codilar_HelloWorld, which is the Namespace and the Module name underscore separated”.
Next we come to the etc/module.xml app/code/CodilaHelloWorld/etc/module.xml




This file just contains some basic information about the module. Like the module name and module version.
Now the basic files absolutely necessary for any module to work are created. Next we would create a frontend route inside our etc/frontend/routes.xml file which would tell Magento to “Forward the request to our module’s controller whenever the URL is {{base_url}}/helloworld/

app/code/CodilaHelloWorld/etc/frontend/routes.xml


http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=
"urn:magento:framework:App/etc/routes.xsd">





Now we make the actual controller where the request would be routed. app/code/CodilaHelloWorld/ControlleIndex/Index.php

*
* u/package magento2
* u/author Codilar Technologies
* u/license https://opensource.org/licenses/OSL-3.0 Open Software License v. 3.0 (OSL-3.0)
* u/link https://www.codilar.com/ */ namespace Codilar\HelloWorld\Controller\Index;
use Magento\Framework\App\Action\Action;
use Magento\Framework\App\Action\Context;
use Magento\Framework\App\ResponseInterface;
use Magento\Framework\View\Result\PageFactory;
class Index extends Action {
/**
* u/var PageFactory
*/
private $pageFactory;
/** * Index constructor.
* u/param Context $context
* u/param PageFactory $pageFactory
*/ public function __construct( Context $context,
PageFactory $pageFactory )
{ parent::__construct($context);
$this->pageFactory = $pageFactory; }
/** * Execute action based on request and return result
* * Note: Request will be added as operation argument in future
* * u/return \Magento\Framework\Controller\ResultInterfaceResponseInterface
* u/throws \Magento\Framework\Exception\NotFoundException
*/ public function execute()
{
$page = $this->pageFactory->create();
return $page; } }

Now we make our layout file to handle the request app/code/CodilaHelloWorld/view/frontend/layout/helloworld_index_index.xml









The layout file basically “references” the “content” container, and inserts our own block Codilar\HelloWorld\Block\Hello into it. And remember, blocks and templates always come in pairs. Hence our block also uses the template Codilar_HelloWorld::hello.phtml
Now to create our block file app/code/CodilaHelloWorld/Block/Hello.php
* * u/packagemagento2
* u/authorCodilar Technologies
* u/licensehttps://opensource.org/licenses/OSL-3.0 Open Software License v. 3.0 (OSL-3.0)
* u/linkhttps://www.codilar.com/
*/ namespace Codilar\HelloWorld\Block;
use Magento\Framework\View\Element\Template; class Hello extends Template {
public function getText() { return "Hello World"; } }
Notice that the block has a function getText() . The block’s function within Magento’s MVC architecture is to structure and provide data to the template which the template will then display
And now finally coming to the template file app/code/CodilaHelloWorld/view/frontend/templates/hello.phtml
u/var \Starlabs\HelloWorld\Block\Hello $block */ ?>

getText() ?>


The template’s job is to fetch data from it’s relevant block (mentioned as an u/var comment at the beginning of the template file) and display it accordingly. Ideally, the template should not be responsible for any logical decisions.
Well that’s about it. Now we just run the php bin/magento setup:upgrade command from our terminal to install our new module and then open our favourite browser and type http://mywebsite.com/helloworld/, and we should be able to see our template in action, like this.

Well, that was all guys, on my first blog, among a series of blogs which I’m planning to release eventually which will hopefully clear all your doubts on how to work with Magento, one of the most beautiful PHP frameworks I’ve ever worked with, personally.
Thanks a lot for sticking through this guys. Do let me know in the comment section below about what you want my next Magento tutorial blog to be about. See you till next time!
Click here to download a zip copy of the above mentioned project

Next tutorial
What are widgets in jQuery & how are they different from regular objects/functions?
Do let me know in the comment section below about what you want my next tutorial blog to be about. See you till next time!
submitted by DismalBother7602 to u/DismalBother7602 [link] [comments]