Shineyrock web design & consultancy

Shineyrock

Gezocht op: "using" / 1124 gevonden

How Laravel Broadcasting Works

…using sockets under the hood to accomplish it. Let's understand the basic flow of sockets before we dive deeper into the actual implementation. Firstly, you need a server which supports the web-sockets protocol and allows the client to establish a web socket connection. You could implement your own server or…


Creating Your First Angular App: Components, Part 1

…using a service class. In this tutorial, we will create the HomeComponent for our Angular app.The homepage or the HomeComponent that we are creating will list the top three countries in different categories like population and area. The data to determine the sorting order will be taken from the COUNTRIES…


Persisted WordPress Admin Notices: Part 3

…using plugin_dir_path( __FILE__ ) . 'admin-notices.php'.When the Admin Notices plugin is activated, it will run code added to a set_admin_notice_transient class method, which we'll define next.public function set_admin_notice_transient() { set_transient( 'admin-notice-transient', true, 5 ); }This method creates a new transient called 'admin-notice-transient' with a value of true, and is set…


Creating Your First Angular App: Components, Part 2

…using to identify the AllCountriesComponent.Inside the class definition, we create a countries property that accepts an array of Country objects as its value. The CountryService class is added to the component using dependency injection. We call the getCountries() method of this class upon initialization. The getCountries() method itself relies on…


Persisted WordPress Admin Notices: Part 4

…using Ajax to allow us to set the option to false when the dismiss button is clicked. Once successfully set to false, the conditional code that checks the option status will fail, and the admin notice will no longer be displayed.Let's begin by adding the admin notice itself, which will…


Creating Your First Angular App: Implement Routing

…using routerOutlets. The components are rendered after the router-outlet tags.After creating the template file, we will add the following CSS to app.component.css to style the navigation links and the heading:nav { margin: 0px; text-align: center; } h1 { font-family: 'Lato'; color: #999; text-align: center; } h2 { font-size: 2em; margin-top:…


Creating a Blogging App Using Angular & MongoDB: Login

…using the same reusable code. Using Angular, you can divide the whole application into reusable components, which makes it easier to maintain and reuse code.In this tutorial series, you'll learn how to get started with creating a web app using Angular with MongoDB as the back end. You'll be using…


Phoenix I18n

…using version 1.3) Create a new sample application without a database by running:mix phx.new i18ndemo --no-ecto--no-ecto says that the database should not be utilized by the app (Ecto is a tool to communicate with the DB itself). Note that the generator might require a couple of minutes to prepare everything.Now…


Creating a Blogging App Using Angular & MongoDB: Home

…using Node.js.Navigate to the server folder and initialize the project.cd server npm initEnter the required details and you should have the project initialized.You'll be using the Express framework for creating the server. Install Express using the following command:npm install express --saveOnce you have Express installed, create a file called app.js.…


Creating a Blogging App Using Angular & MongoDB: Show Post

…using the Mongoose client from the Node server.In the next part of the tutorial series, you'll learn how to create the AddPostComponent for adding new posts from the application user interface.Source code for this tutorial is available on GitHub.How was your experience so far? Do let me know your valuable…


Verfijn zoekopdracht

Bewaar deze zoekopdracht

Bewaarde zoekopdrachten

Je hebt nog geen bewaarde zoekopdrachten.